Documentation
¶
Index ¶
- type HelloServer
- func (h *HelloServer) GetGreeting(ctx context.Context, req *sample.Hello) (*empty.Empty, error)
- func (h *HelloServer) Greeting(ctx context.Context, req *sample.HelloRequest) (*sample.HelloResponse, error)
- func (h *HelloServer) HelloQuery(ctx context.Context, req *sample.Test) (*sample.Test, error)
- func (h *HelloServer) SetBoolValue(ctx context.Context, req *wrappers.BoolValue) (*wrappers.BoolValue, error)
- func (h *HelloServer) SetDuration(ctx context.Context, req *duration.Duration) (*duration.Duration, error)
- func (h *HelloServer) SetGreeting(ctx context.Context, req *sample.Hello) (*sample.HelloResponse, error)
- func (h *HelloServer) SetInt32Value(ctx context.Context, req *wrappers.Int32Value) (*wrappers.Int32Value, error)
- func (h *HelloServer) SetStringValue(ctx context.Context, req *wrappers.StringValue) (*wrappers.StringValue, error)
- func (h *HelloServer) SetTimestamp(ctx context.Context, req *timestamp.Timestamp) (*timestamp.Timestamp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloServer ¶
type HelloServer struct { sample.UnimplementedHelloServiceServer sample.UnimplementedHelloTestServiceServer }
func (*HelloServer) GetGreeting ¶
func (*HelloServer) Greeting ¶
func (h *HelloServer) Greeting(ctx context.Context, req *sample.HelloRequest) (*sample.HelloResponse, error)
func (*HelloServer) HelloQuery ¶
func (*HelloServer) SetBoolValue ¶
func (*HelloServer) SetDuration ¶
func (*HelloServer) SetGreeting ¶
func (h *HelloServer) SetGreeting(ctx context.Context, req *sample.Hello) (*sample.HelloResponse, error)
func (*HelloServer) SetInt32Value ¶
func (h *HelloServer) SetInt32Value(ctx context.Context, req *wrappers.Int32Value) (*wrappers.Int32Value, error)
func (*HelloServer) SetStringValue ¶
func (h *HelloServer) SetStringValue(ctx context.Context, req *wrappers.StringValue) (*wrappers.StringValue, error)
func (*HelloServer) SetTimestamp ¶
Click to show internal directories.
Click to hide internal directories.