|
@ -103,6 +103,7 @@ type SiteService interface { |
|
|
GetAllSite(in *Request, out *Response) error |
|
|
GetAllSite(in *Request, out *Response) error |
|
|
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 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// AcceptSiteServiceClient accepts connections on the listener and serves requests
|
|
|
// AcceptSiteServiceClient accepts connections on the listener and serves requests
|
|
@ -189,6 +190,9 @@ func (c *SiteServiceClient) GetSiteInfoByHost(in *Request, out *Response) error |
|
|
func (c *SiteServiceClient) GetAllConfig(in *Request, out *Response) error { |
|
|
func (c *SiteServiceClient) GetAllConfig(in *Request, out *Response) error { |
|
|
return c.Call("SiteService.GetAllConfig", in, out) |
|
|
return c.Call("SiteService.GetAllConfig", in, out) |
|
|
} |
|
|
} |
|
|
|
|
|
func (c *SiteServiceClient) GetGroupConfig(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("SiteService.GetGroupConfig", 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) { |
|
|