Versions in this module Expand all Collapse all v2 v2.9.3 Mar 2, 2021 v2.9.2 Mar 2, 2021 Changes in this version + func NewApiEndpoints() []*api.Endpoint + func RegisterApiHandler(s server.Server, hdlr ApiHandler, opts ...server.HandlerOption) error + func RegisterApiServer(s *grpc.Server, srv ApiServer) + type ApiClient interface + Deregister func(ctx context.Context, in *Endpoint, opts ...grpc.CallOption) (*EmptyResponse, error) + Register func(ctx context.Context, in *Endpoint, opts ...grpc.CallOption) (*EmptyResponse, error) + func NewApiClient(cc *grpc.ClientConn) ApiClient + type ApiHandler interface + Deregister func(context.Context, *Endpoint, *EmptyResponse) error + Register func(context.Context, *Endpoint, *EmptyResponse) error + type ApiServer interface + Deregister func(context.Context, *Endpoint) (*EmptyResponse, error) + Register func(context.Context, *Endpoint) (*EmptyResponse, error) + type ApiService interface + Deregister func(ctx context.Context, in *Endpoint, opts ...client.CallOption) (*EmptyResponse, error) + Register func(ctx context.Context, in *Endpoint, opts ...client.CallOption) (*EmptyResponse, error) + func NewApiService(name string, c client.Client) ApiService + type EmptyResponse struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EmptyResponse) Descriptor() ([]byte, []int) + func (*EmptyResponse) ProtoMessage() + func (m *EmptyResponse) Reset() + func (m *EmptyResponse) String() string + func (m *EmptyResponse) XXX_DiscardUnknown() + func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EmptyResponse) XXX_Merge(src proto.Message) + func (m *EmptyResponse) XXX_Size() int + func (m *EmptyResponse) XXX_Unmarshal(b []byte) error + type Endpoint struct + Host []string + Method []string + Name string + Path []string + Stream bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Endpoint) Descriptor() ([]byte, []int) + func (*Endpoint) ProtoMessage() + func (m *Endpoint) GetHost() []string + func (m *Endpoint) GetMethod() []string + func (m *Endpoint) GetName() string + func (m *Endpoint) GetPath() []string + func (m *Endpoint) GetStream() bool + func (m *Endpoint) Reset() + func (m *Endpoint) String() string + func (m *Endpoint) XXX_DiscardUnknown() + func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Endpoint) XXX_Merge(src proto.Message) + func (m *Endpoint) XXX_Size() int + func (m *Endpoint) XXX_Unmarshal(b []byte) error + type UnimplementedApiServer struct + func (*UnimplementedApiServer) Deregister(ctx context.Context, req *Endpoint) (*EmptyResponse, error) + func (*UnimplementedApiServer) Register(ctx context.Context, req *Endpoint) (*EmptyResponse, error)