Documentation
¶
Index ¶
- func RunServer(ctx context.Context, port int) error
- type EchoService
- func (s *EchoService) BidiStreamingBulkEcho(stream pb.Echo_BidiStreamingBulkEchoServer) error
- func (s *EchoService) ClientStreamingEcho(stream pb.Echo_ClientStreamingEchoServer) error
- func (s *EchoService) Echo(ctx context.Context, in *pb.EchoMessage) (*pb.EchoMessage, error)
- func (s *EchoService) ServerStreamingEcho(in *pb.EchoMessage, stream pb.Echo_ServerStreamingEchoServer) error
- type EchoServiceV2
- type EverythingService
- func (s *EverythingService) Enum(ctx context.Context, in *pb.EnumMessage) (*pb.EnumMessage, error)
- func (s *EverythingService) Google(ctx context.Context, in *pb.GoogleMessage) (*pb.GoogleMessage, error)
- func (s *EverythingService) Map(ctx context.Context, in *pb.MapMessage) (*pb.MapMessage, error)
- func (s *EverythingService) Number(ctx context.Context, in *pb.NumberMessage) (*pb.NumberMessage, error)
- func (s *EverythingService) Oneof(ctx context.Context, in *pb.OneofMessage) (*pb.OneofMessage, error)
- func (s *EverythingService) Simple(ctx context.Context, in *pb.SimpleMessage) (*pb.SimpleMessage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EchoService ¶
type EchoService struct{}
func NewEchoService ¶
func NewEchoService() *EchoService
func (*EchoService) BidiStreamingBulkEcho ¶
func (s *EchoService) BidiStreamingBulkEcho(stream pb.Echo_BidiStreamingBulkEchoServer) error
func (*EchoService) ClientStreamingEcho ¶
func (s *EchoService) ClientStreamingEcho(stream pb.Echo_ClientStreamingEchoServer) error
func (*EchoService) Echo ¶
func (s *EchoService) Echo(ctx context.Context, in *pb.EchoMessage) (*pb.EchoMessage, error)
func (*EchoService) ServerStreamingEcho ¶
func (s *EchoService) ServerStreamingEcho(in *pb.EchoMessage, stream pb.Echo_ServerStreamingEchoServer) error
type EchoServiceV2 ¶
type EchoServiceV2 struct{}
func NewEchoServiceV2 ¶
func NewEchoServiceV2() *EchoServiceV2
func (*EchoServiceV2) Echo ¶
func (s *EchoServiceV2) Echo(ctx context.Context, in *pb.EchoMessage) (*pb.EchoMessage, error)
type EverythingService ¶
type EverythingService struct{}
func NewEverythingService ¶
func NewEverythingService() *EverythingService
func (*EverythingService) Enum ¶
func (s *EverythingService) Enum(ctx context.Context, in *pb.EnumMessage) (*pb.EnumMessage, error)
func (*EverythingService) Google ¶
func (s *EverythingService) Google(ctx context.Context, in *pb.GoogleMessage) (*pb.GoogleMessage, error)
func (*EverythingService) Map ¶
func (s *EverythingService) Map(ctx context.Context, in *pb.MapMessage) (*pb.MapMessage, error)
func (*EverythingService) Number ¶
func (s *EverythingService) Number(ctx context.Context, in *pb.NumberMessage) (*pb.NumberMessage, error)
func (*EverythingService) Oneof ¶
func (s *EverythingService) Oneof(ctx context.Context, in *pb.OneofMessage) (*pb.OneofMessage, error)
func (*EverythingService) Simple ¶
func (s *EverythingService) Simple(ctx context.Context, in *pb.SimpleMessage) (*pb.SimpleMessage, error)
Click to show internal directories.
Click to hide internal directories.