Browse Source

生成pb文件

master
guzeng 3 years ago
parent
commit
3afb9d3d28
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      site.pb.go

+ 4
- 0
site.pb.go View File

@ -104,6 +104,7 @@ type SiteService interface {
GetSiteInfoByHost(in *Request, out *Response) error GetSiteInfoByHost(in *Request, out *Response) error
GetAllConfig(in *Request, out *Response) error GetAllConfig(in *Request, out *Response) error
GetGroupConfig(in *Request, out *Response) error GetGroupConfig(in *Request, out *Response) error
GetOneCode(in *Request, out *Response) error
} }
// AcceptSiteServiceClient accepts connections on the listener and serves requests // AcceptSiteServiceClient accepts connections on the listener and serves requests
@ -193,6 +194,9 @@ func (c *SiteServiceClient) GetAllConfig(in *Request, out *Response) error {
func (c *SiteServiceClient) GetGroupConfig(in *Request, out *Response) error { func (c *SiteServiceClient) GetGroupConfig(in *Request, out *Response) error {
return c.Call("SiteService.GetGroupConfig", in, out) return c.Call("SiteService.GetGroupConfig", in, out)
} }
func (c *SiteServiceClient) GetOneCode(in *Request, out *Response) error {
return c.Call("SiteService.GetOneCode", in, out)
}
// DialSiteService connects to an SiteService at the specified network address. // DialSiteService connects to an SiteService at the specified network address.
func DialSiteService(network, addr string) (*SiteServiceClient, *rpc.Client, error) { func DialSiteService(network, addr string) (*SiteServiceClient, *rpc.Client, error) {


Loading…
Cancel
Save