Documentation ¶
Overview ¶
Code generated by protoc-gen-micro source: service.proto
Code generated by protoc-gen-micro source: service.proto
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegisterEndpoints ¶
func RegisterRegisterServer ¶
func RegisterRegisterServer(s server.Server, sh RegisterServer, opts ...server.HandlerOption) error
Types ¶
type RegisterClient ¶
type RegisterClient interface { LookupService(ctx context.Context, req *proto.LookupRequest, opts ...client.CallOption) (*proto.LookupResponse, error) Register(ctx context.Context, req *proto.Service, opts ...client.CallOption) (*proto.EmptyResponse, error) Deregister(ctx context.Context, req *proto.Service, opts ...client.CallOption) (*proto.EmptyResponse, error) ListServices(ctx context.Context, req *proto.ListRequest, opts ...client.CallOption) (*proto.ListResponse, error) Watch(ctx context.Context, req *proto.WatchRequest, opts ...client.CallOption) (Register_WatchClient, error) }
func NewRegisterClient ¶
func NewRegisterClient(name string, c client.Client) RegisterClient
type RegisterServer ¶
type RegisterServer interface { LookupService(ctx context.Context, req *proto.LookupRequest, rsp *proto.LookupResponse) error Register(ctx context.Context, req *proto.Service, rsp *proto.EmptyResponse) error Deregister(ctx context.Context, req *proto.Service, rsp *proto.EmptyResponse) error ListServices(ctx context.Context, req *proto.ListRequest, rsp *proto.ListResponse) error Watch(ctx context.Context, req *proto.WatchRequest, stream Register_WatchStream) error }
type Register_WatchClient ¶
Click to show internal directories.
Click to hide internal directories.