Documentation
¶
Index ¶
- type Client
- func (c *Client) DiscoverServices3(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) DiscoverServices3_3(ctx context.Context, arg0 string, arg1 int32, arg2 int64) error
- func (c *Client) DiscoverServices5_1(ctx context.Context, arg0 string, arg1 int32, arg2 int64, arg3 int64, ...) error
- func (c *Client) DiscoverServices5_2(ctx context.Context, arg0 string, arg1 int32, arg2 int64, arg3 int64, ...) error
- func (c *Client) RegisterService3(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error
- func (c *Client) RegisterService4_1(ctx context.Context, arg0 int64, arg1 int32, arg2 int64, arg3 int64) error
- func (c *Client) RegisterServiceInfoCallback(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) ResolveService2(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) ResolveService3_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) StopServiceDiscovery(ctx context.Context, arg0 int64) error
- func (c *Client) StopServiceResolution(ctx context.Context, arg0 int64) error
- func (c *Client) UnregisterService(ctx context.Context, arg0 int64) error
- func (c *Client) UnregisterServiceInfoCallback(ctx context.Context, arg0 int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the gRPC ManagerService client.
func NewClient ¶
func NewClient(cc grpc.ClientConnInterface) *Client
NewClient creates a new nsd client.
func (*Client) DiscoverServices3 ¶
DiscoverServices3 calls the DiscoverServices3 RPC.
func (*Client) DiscoverServices3_3 ¶
func (c *Client) DiscoverServices3_3(ctx context.Context, arg0 string, arg1 int32, arg2 int64) error
DiscoverServices3_3 calls the DiscoverServices3_3 RPC.
func (*Client) DiscoverServices5_1 ¶
func (c *Client) DiscoverServices5_1(ctx context.Context, arg0 string, arg1 int32, arg2 int64, arg3 int64, arg4 int64) error
DiscoverServices5_1 calls the DiscoverServices5_1 RPC.
func (*Client) DiscoverServices5_2 ¶
func (c *Client) DiscoverServices5_2(ctx context.Context, arg0 string, arg1 int32, arg2 int64, arg3 int64, arg4 int64) error
DiscoverServices5_2 calls the DiscoverServices5_2 RPC.
func (*Client) RegisterService3 ¶
RegisterService3 calls the RegisterService3 RPC.
func (*Client) RegisterService4_1 ¶
func (c *Client) RegisterService4_1(ctx context.Context, arg0 int64, arg1 int32, arg2 int64, arg3 int64) error
RegisterService4_1 calls the RegisterService4_1 RPC.
func (*Client) RegisterServiceInfoCallback ¶
func (c *Client) RegisterServiceInfoCallback(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
RegisterServiceInfoCallback calls the RegisterServiceInfoCallback RPC.
func (*Client) ResolveService2 ¶
ResolveService2 calls the ResolveService2 RPC.
func (*Client) ResolveService3_1 ¶
ResolveService3_1 calls the ResolveService3_1 RPC.
func (*Client) StopServiceDiscovery ¶
StopServiceDiscovery calls the StopServiceDiscovery RPC.
func (*Client) StopServiceResolution ¶
StopServiceResolution calls the StopServiceResolution RPC.
func (*Client) UnregisterService ¶
UnregisterService calls the UnregisterService RPC.