hall

package
v0.0.0-...-2b516a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewRegisteryEndpoints

func NewRegisteryEndpoints() []*api.Endpoint

func RegisterRegisteryHandler

func RegisterRegisteryHandler(s server.Server, hdlr RegisteryHandler, opts ...server.HandlerOption) error

Types

type RegisteryHandler

type RegisteryHandler interface {
	Ping(context.Context, *RegisteryRequest, *RegisteryResponse) error
}

type RegisteryRequest

type RegisteryRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisteryRequest) Descriptor deprecated

func (*RegisteryRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisteryRequest.ProtoReflect.Descriptor instead.

func (*RegisteryRequest) GetName

func (x *RegisteryRequest) GetName() string

func (*RegisteryRequest) ProtoMessage

func (*RegisteryRequest) ProtoMessage()

func (*RegisteryRequest) ProtoReflect

func (x *RegisteryRequest) ProtoReflect() protoreflect.Message

func (*RegisteryRequest) Reset

func (x *RegisteryRequest) Reset()

func (*RegisteryRequest) String

func (x *RegisteryRequest) String() string

type RegisteryResponse

type RegisteryResponse struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisteryResponse) Descriptor deprecated

func (*RegisteryResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisteryResponse.ProtoReflect.Descriptor instead.

func (*RegisteryResponse) GetMsg

func (x *RegisteryResponse) GetMsg() string

func (*RegisteryResponse) ProtoMessage

func (*RegisteryResponse) ProtoMessage()

func (*RegisteryResponse) ProtoReflect

func (x *RegisteryResponse) ProtoReflect() protoreflect.Message

func (*RegisteryResponse) Reset

func (x *RegisteryResponse) Reset()

func (*RegisteryResponse) String

func (x *RegisteryResponse) String() string

type RegisteryService

type RegisteryService interface {
	Ping(ctx context.Context, in *RegisteryRequest, opts ...client.CallOption) (*RegisteryResponse, error)
}

func NewRegisteryService

func NewRegisteryService(name string, c client.Client) RegisteryService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL