Documentation
¶
Index ¶
- type HelloServer
- func (h *HelloServer) GetGreeting(ctx context.Context, req *sample.Hello) (*emptypb.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 *wrapperspb.BoolValue) (*wrapperspb.BoolValue, error)
- func (h *HelloServer) SetDuration(ctx context.Context, req *durationpb.Duration) (*durationpb.Duration, error)
- func (h *HelloServer) SetGreeting(ctx context.Context, req *sample.Hello) (*sample.HelloResponse, error)
- func (h *HelloServer) SetInt32Value(ctx context.Context, req *wrapperspb.Int32Value) (*wrapperspb.Int32Value, error)
- func (h *HelloServer) SetStringValue(ctx context.Context, req *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
- func (h *HelloServer) SetTimestamp(ctx context.Context, req *timestamppb.Timestamp) (*timestamppb.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 (h *HelloServer) SetBoolValue(ctx context.Context, req *wrapperspb.BoolValue) (*wrapperspb.BoolValue, error)
func (*HelloServer) SetDuration ¶
func (h *HelloServer) SetDuration(ctx context.Context, req *durationpb.Duration) (*durationpb.Duration, error)
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 *wrapperspb.Int32Value) (*wrapperspb.Int32Value, error)
func (*HelloServer) SetStringValue ¶
func (h *HelloServer) SetStringValue(ctx context.Context, req *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
func (*HelloServer) SetTimestamp ¶
func (h *HelloServer) SetTimestamp(ctx context.Context, req *timestamppb.Timestamp) (*timestamppb.Timestamp, error)
Click to show internal directories.
Click to hide internal directories.