Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_example_example_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type ExampleServiceClient ¶
type ExampleServiceClient interface {
Echo(ctx context.Context, in *Hello, timeout time.Duration) (*Hello, error)
}
func NewExampleServiceClient ¶
func NewExampleServiceClient(tr natspb.Transport) ExampleServiceClient
type ExampleServiceServer ¶
type Hello ¶
type Hello struct { Greeting string `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` // contains filtered or unexported fields }
func (*Hello) Descriptor
deprecated
func (*Hello) GetGreeting ¶
func (*Hello) ProtoMessage ¶
func (*Hello) ProtoMessage()
func (*Hello) ProtoReflect ¶
func (x *Hello) ProtoReflect() protoreflect.Message
type Option ¶
func WithDoneHandler ¶
func WithDoneHandler(h micro.DoneHandler) Option
func WithErrHandler ¶
func WithErrHandler(h micro.ErrHandler) Option
func WithStatsHandler ¶
func WithStatsHandler(h micro.StatsHandler) Option
Click to show internal directories.
Click to hide internal directories.