|
@ -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) { |
|
|