Documentation ¶
Index ¶
- func RegisterGreetServiceServer(s *grpc.Server, srv GreetServiceServer)
- type GreetEveryoneRequest
- func (*GreetEveryoneRequest) Descriptor() ([]byte, []int)
- func (m *GreetEveryoneRequest) GetGreeting() *Greeting
- func (*GreetEveryoneRequest) ProtoMessage()
- func (m *GreetEveryoneRequest) Reset()
- func (m *GreetEveryoneRequest) String() string
- func (m *GreetEveryoneRequest) XXX_DiscardUnknown()
- func (m *GreetEveryoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GreetEveryoneRequest) XXX_Merge(src proto.Message)
- func (m *GreetEveryoneRequest) XXX_Size() int
- func (m *GreetEveryoneRequest) XXX_Unmarshal(b []byte) error
- type GreetEveryoneResponse
- func (*GreetEveryoneResponse) Descriptor() ([]byte, []int)
- func (m *GreetEveryoneResponse) GetResult() string
- func (*GreetEveryoneResponse) ProtoMessage()
- func (m *GreetEveryoneResponse) Reset()
- func (m *GreetEveryoneResponse) String() string
- func (m *GreetEveryoneResponse) XXX_DiscardUnknown()
- func (m *GreetEveryoneResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GreetEveryoneResponse) XXX_Merge(src proto.Message)
- func (m *GreetEveryoneResponse) XXX_Size() int
- func (m *GreetEveryoneResponse) XXX_Unmarshal(b []byte) error
- type GreetManyTimesRequest
- func (*GreetManyTimesRequest) Descriptor() ([]byte, []int)
- func (m *GreetManyTimesRequest) GetGreeting() *Greeting
- func (*GreetManyTimesRequest) ProtoMessage()
- func (m *GreetManyTimesRequest) Reset()
- func (m *GreetManyTimesRequest) String() string
- func (m *GreetManyTimesRequest) XXX_DiscardUnknown()
- func (m *GreetManyTimesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GreetManyTimesRequest) XXX_Merge(src proto.Message)
- func (m *GreetManyTimesRequest) XXX_Size() int
- func (m *GreetManyTimesRequest) XXX_Unmarshal(b []byte) error
- type GreetManytimesResponse
- func (*GreetManytimesResponse) Descriptor() ([]byte, []int)
- func (m *GreetManytimesResponse) GetResult() string
- func (*GreetManytimesResponse) ProtoMessage()
- func (m *GreetManytimesResponse) Reset()
- func (m *GreetManytimesResponse) String() string
- func (m *GreetManytimesResponse) XXX_DiscardUnknown()
- func (m *GreetManytimesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GreetManytimesResponse) XXX_Merge(src proto.Message)
- func (m *GreetManytimesResponse) XXX_Size() int
- func (m *GreetManytimesResponse) XXX_Unmarshal(b []byte) error
- type GreetRequest
- func (*GreetRequest) Descriptor() ([]byte, []int)
- func (m *GreetRequest) GetGreeting() *Greeting
- func (*GreetRequest) ProtoMessage()
- func (m *GreetRequest) Reset()
- func (m *GreetRequest) String() string
- func (m *GreetRequest) XXX_DiscardUnknown()
- func (m *GreetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GreetRequest) XXX_Merge(src proto.Message)
- func (m *GreetRequest) XXX_Size() int
- func (m *GreetRequest) XXX_Unmarshal(b []byte) error
- type GreetResponse
- func (*GreetResponse) Descriptor() ([]byte, []int)
- func (m *GreetResponse) GetResult() string
- func (*GreetResponse) ProtoMessage()
- func (m *GreetResponse) Reset()
- func (m *GreetResponse) String() string
- func (m *GreetResponse) XXX_DiscardUnknown()
- func (m *GreetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GreetResponse) XXX_Merge(src proto.Message)
- func (m *GreetResponse) XXX_Size() int
- func (m *GreetResponse) XXX_Unmarshal(b []byte) error
- type GreetServiceClient
- type GreetServiceServer
- type GreetService_GreetEveryoneClient
- type GreetService_GreetEveryoneServer
- type GreetService_GreetManyTimesClient
- type GreetService_GreetManyTimesServer
- type GreetService_LongGreetClient
- type GreetService_LongGreetServer
- type GreetWithDeadlineRequest
- func (*GreetWithDeadlineRequest) Descriptor() ([]byte, []int)
- func (m *GreetWithDeadlineRequest) GetGreeting() *Greeting
- func (*GreetWithDeadlineRequest) ProtoMessage()
- func (m *GreetWithDeadlineRequest) Reset()
- func (m *GreetWithDeadlineRequest) String() string
- func (m *GreetWithDeadlineRequest) XXX_DiscardUnknown()
- func (m *GreetWithDeadlineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GreetWithDeadlineRequest) XXX_Merge(src proto.Message)
- func (m *GreetWithDeadlineRequest) XXX_Size() int
- func (m *GreetWithDeadlineRequest) XXX_Unmarshal(b []byte) error
- type GreetWithDeadlineResponse
- func (*GreetWithDeadlineResponse) Descriptor() ([]byte, []int)
- func (m *GreetWithDeadlineResponse) GetResult() string
- func (*GreetWithDeadlineResponse) ProtoMessage()
- func (m *GreetWithDeadlineResponse) Reset()
- func (m *GreetWithDeadlineResponse) String() string
- func (m *GreetWithDeadlineResponse) XXX_DiscardUnknown()
- func (m *GreetWithDeadlineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GreetWithDeadlineResponse) XXX_Merge(src proto.Message)
- func (m *GreetWithDeadlineResponse) XXX_Size() int
- func (m *GreetWithDeadlineResponse) XXX_Unmarshal(b []byte) error
- type Greeting
- func (*Greeting) Descriptor() ([]byte, []int)
- func (m *Greeting) GetFirstName() string
- func (m *Greeting) GetLastName() string
- func (*Greeting) ProtoMessage()
- func (m *Greeting) Reset()
- func (m *Greeting) String() string
- func (m *Greeting) XXX_DiscardUnknown()
- func (m *Greeting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Greeting) XXX_Merge(src proto.Message)
- func (m *Greeting) XXX_Size() int
- func (m *Greeting) XXX_Unmarshal(b []byte) error
- type LongGreetRequest
- func (*LongGreetRequest) Descriptor() ([]byte, []int)
- func (m *LongGreetRequest) GetGreeting() *Greeting
- func (*LongGreetRequest) ProtoMessage()
- func (m *LongGreetRequest) Reset()
- func (m *LongGreetRequest) String() string
- func (m *LongGreetRequest) XXX_DiscardUnknown()
- func (m *LongGreetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LongGreetRequest) XXX_Merge(src proto.Message)
- func (m *LongGreetRequest) XXX_Size() int
- func (m *LongGreetRequest) XXX_Unmarshal(b []byte) error
- type LongGreetResponse
- func (*LongGreetResponse) Descriptor() ([]byte, []int)
- func (m *LongGreetResponse) GetResult() string
- func (*LongGreetResponse) ProtoMessage()
- func (m *LongGreetResponse) Reset()
- func (m *LongGreetResponse) String() string
- func (m *LongGreetResponse) XXX_DiscardUnknown()
- func (m *LongGreetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LongGreetResponse) XXX_Merge(src proto.Message)
- func (m *LongGreetResponse) XXX_Size() int
- func (m *LongGreetResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGreetServiceServer ¶
func RegisterGreetServiceServer(s *grpc.Server, srv GreetServiceServer)
Types ¶
type GreetEveryoneRequest ¶
type GreetEveryoneRequest struct { Greeting *Greeting `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreetEveryoneRequest) Descriptor ¶
func (*GreetEveryoneRequest) Descriptor() ([]byte, []int)
func (*GreetEveryoneRequest) GetGreeting ¶
func (m *GreetEveryoneRequest) GetGreeting() *Greeting
func (*GreetEveryoneRequest) ProtoMessage ¶
func (*GreetEveryoneRequest) ProtoMessage()
func (*GreetEveryoneRequest) Reset ¶
func (m *GreetEveryoneRequest) Reset()
func (*GreetEveryoneRequest) String ¶
func (m *GreetEveryoneRequest) String() string
func (*GreetEveryoneRequest) XXX_DiscardUnknown ¶
func (m *GreetEveryoneRequest) XXX_DiscardUnknown()
func (*GreetEveryoneRequest) XXX_Marshal ¶
func (m *GreetEveryoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GreetEveryoneRequest) XXX_Merge ¶
func (dst *GreetEveryoneRequest) XXX_Merge(src proto.Message)
func (*GreetEveryoneRequest) XXX_Size ¶
func (m *GreetEveryoneRequest) XXX_Size() int
func (*GreetEveryoneRequest) XXX_Unmarshal ¶
func (m *GreetEveryoneRequest) XXX_Unmarshal(b []byte) error
type GreetEveryoneResponse ¶
type GreetEveryoneResponse struct { Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreetEveryoneResponse) Descriptor ¶
func (*GreetEveryoneResponse) Descriptor() ([]byte, []int)
func (*GreetEveryoneResponse) GetResult ¶
func (m *GreetEveryoneResponse) GetResult() string
func (*GreetEveryoneResponse) ProtoMessage ¶
func (*GreetEveryoneResponse) ProtoMessage()
func (*GreetEveryoneResponse) Reset ¶
func (m *GreetEveryoneResponse) Reset()
func (*GreetEveryoneResponse) String ¶
func (m *GreetEveryoneResponse) String() string
func (*GreetEveryoneResponse) XXX_DiscardUnknown ¶
func (m *GreetEveryoneResponse) XXX_DiscardUnknown()
func (*GreetEveryoneResponse) XXX_Marshal ¶
func (m *GreetEveryoneResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GreetEveryoneResponse) XXX_Merge ¶
func (dst *GreetEveryoneResponse) XXX_Merge(src proto.Message)
func (*GreetEveryoneResponse) XXX_Size ¶
func (m *GreetEveryoneResponse) XXX_Size() int
func (*GreetEveryoneResponse) XXX_Unmarshal ¶
func (m *GreetEveryoneResponse) XXX_Unmarshal(b []byte) error
type GreetManyTimesRequest ¶
type GreetManyTimesRequest struct { Greeting *Greeting `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreetManyTimesRequest) Descriptor ¶
func (*GreetManyTimesRequest) Descriptor() ([]byte, []int)
func (*GreetManyTimesRequest) GetGreeting ¶
func (m *GreetManyTimesRequest) GetGreeting() *Greeting
func (*GreetManyTimesRequest) ProtoMessage ¶
func (*GreetManyTimesRequest) ProtoMessage()
func (*GreetManyTimesRequest) Reset ¶
func (m *GreetManyTimesRequest) Reset()
func (*GreetManyTimesRequest) String ¶
func (m *GreetManyTimesRequest) String() string
func (*GreetManyTimesRequest) XXX_DiscardUnknown ¶
func (m *GreetManyTimesRequest) XXX_DiscardUnknown()
func (*GreetManyTimesRequest) XXX_Marshal ¶
func (m *GreetManyTimesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GreetManyTimesRequest) XXX_Merge ¶
func (dst *GreetManyTimesRequest) XXX_Merge(src proto.Message)
func (*GreetManyTimesRequest) XXX_Size ¶
func (m *GreetManyTimesRequest) XXX_Size() int
func (*GreetManyTimesRequest) XXX_Unmarshal ¶
func (m *GreetManyTimesRequest) XXX_Unmarshal(b []byte) error
type GreetManytimesResponse ¶
type GreetManytimesResponse struct { Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreetManytimesResponse) Descriptor ¶
func (*GreetManytimesResponse) Descriptor() ([]byte, []int)
func (*GreetManytimesResponse) GetResult ¶
func (m *GreetManytimesResponse) GetResult() string
func (*GreetManytimesResponse) ProtoMessage ¶
func (*GreetManytimesResponse) ProtoMessage()
func (*GreetManytimesResponse) Reset ¶
func (m *GreetManytimesResponse) Reset()
func (*GreetManytimesResponse) String ¶
func (m *GreetManytimesResponse) String() string
func (*GreetManytimesResponse) XXX_DiscardUnknown ¶
func (m *GreetManytimesResponse) XXX_DiscardUnknown()
func (*GreetManytimesResponse) XXX_Marshal ¶
func (m *GreetManytimesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GreetManytimesResponse) XXX_Merge ¶
func (dst *GreetManytimesResponse) XXX_Merge(src proto.Message)
func (*GreetManytimesResponse) XXX_Size ¶
func (m *GreetManytimesResponse) XXX_Size() int
func (*GreetManytimesResponse) XXX_Unmarshal ¶
func (m *GreetManytimesResponse) XXX_Unmarshal(b []byte) error
type GreetRequest ¶
type GreetRequest struct { Greeting *Greeting `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreetRequest) Descriptor ¶
func (*GreetRequest) Descriptor() ([]byte, []int)
func (*GreetRequest) GetGreeting ¶
func (m *GreetRequest) GetGreeting() *Greeting
func (*GreetRequest) ProtoMessage ¶
func (*GreetRequest) ProtoMessage()
func (*GreetRequest) Reset ¶
func (m *GreetRequest) Reset()
func (*GreetRequest) String ¶
func (m *GreetRequest) String() string
func (*GreetRequest) XXX_DiscardUnknown ¶
func (m *GreetRequest) XXX_DiscardUnknown()
func (*GreetRequest) XXX_Marshal ¶
func (m *GreetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GreetRequest) XXX_Merge ¶
func (dst *GreetRequest) XXX_Merge(src proto.Message)
func (*GreetRequest) XXX_Size ¶
func (m *GreetRequest) XXX_Size() int
func (*GreetRequest) XXX_Unmarshal ¶
func (m *GreetRequest) XXX_Unmarshal(b []byte) error
type GreetResponse ¶
type GreetResponse struct { Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreetResponse) Descriptor ¶
func (*GreetResponse) Descriptor() ([]byte, []int)
func (*GreetResponse) GetResult ¶
func (m *GreetResponse) GetResult() string
func (*GreetResponse) ProtoMessage ¶
func (*GreetResponse) ProtoMessage()
func (*GreetResponse) Reset ¶
func (m *GreetResponse) Reset()
func (*GreetResponse) String ¶
func (m *GreetResponse) String() string
func (*GreetResponse) XXX_DiscardUnknown ¶
func (m *GreetResponse) XXX_DiscardUnknown()
func (*GreetResponse) XXX_Marshal ¶
func (m *GreetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GreetResponse) XXX_Merge ¶
func (dst *GreetResponse) XXX_Merge(src proto.Message)
func (*GreetResponse) XXX_Size ¶
func (m *GreetResponse) XXX_Size() int
func (*GreetResponse) XXX_Unmarshal ¶
func (m *GreetResponse) XXX_Unmarshal(b []byte) error
type GreetServiceClient ¶
type GreetServiceClient interface { // Unary Greet(ctx context.Context, in *GreetRequest, opts ...grpc.CallOption) (*GreetResponse, error) // Server Streaming GreetManyTimes(ctx context.Context, in *GreetManyTimesRequest, opts ...grpc.CallOption) (GreetService_GreetManyTimesClient, error) // Client Streaming LongGreet(ctx context.Context, opts ...grpc.CallOption) (GreetService_LongGreetClient, error) // BiDi Streaming GreetEveryone(ctx context.Context, opts ...grpc.CallOption) (GreetService_GreetEveryoneClient, error) // Unary With Deadline GreetWithDeadline(ctx context.Context, in *GreetWithDeadlineRequest, opts ...grpc.CallOption) (*GreetWithDeadlineResponse, error) }
GreetServiceClient is the client API for GreetService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGreetServiceClient ¶
func NewGreetServiceClient(cc *grpc.ClientConn) GreetServiceClient
type GreetServiceServer ¶
type GreetServiceServer interface { // Unary Greet(context.Context, *GreetRequest) (*GreetResponse, error) // Server Streaming GreetManyTimes(*GreetManyTimesRequest, GreetService_GreetManyTimesServer) error // Client Streaming LongGreet(GreetService_LongGreetServer) error // BiDi Streaming GreetEveryone(GreetService_GreetEveryoneServer) error // Unary With Deadline GreetWithDeadline(context.Context, *GreetWithDeadlineRequest) (*GreetWithDeadlineResponse, error) }
GreetServiceServer is the server API for GreetService service.
type GreetService_GreetEveryoneClient ¶
type GreetService_GreetEveryoneClient interface { Send(*GreetEveryoneRequest) error Recv() (*GreetEveryoneResponse, error) grpc.ClientStream }
type GreetService_GreetEveryoneServer ¶
type GreetService_GreetEveryoneServer interface { Send(*GreetEveryoneResponse) error Recv() (*GreetEveryoneRequest, error) grpc.ServerStream }
type GreetService_GreetManyTimesClient ¶
type GreetService_GreetManyTimesClient interface { Recv() (*GreetManytimesResponse, error) grpc.ClientStream }
type GreetService_GreetManyTimesServer ¶
type GreetService_GreetManyTimesServer interface { Send(*GreetManytimesResponse) error grpc.ServerStream }
type GreetService_LongGreetClient ¶
type GreetService_LongGreetClient interface { Send(*LongGreetRequest) error CloseAndRecv() (*LongGreetResponse, error) grpc.ClientStream }
type GreetService_LongGreetServer ¶
type GreetService_LongGreetServer interface { SendAndClose(*LongGreetResponse) error Recv() (*LongGreetRequest, error) grpc.ServerStream }
type GreetWithDeadlineRequest ¶
type GreetWithDeadlineRequest struct { Greeting *Greeting `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreetWithDeadlineRequest) Descriptor ¶
func (*GreetWithDeadlineRequest) Descriptor() ([]byte, []int)
func (*GreetWithDeadlineRequest) GetGreeting ¶
func (m *GreetWithDeadlineRequest) GetGreeting() *Greeting
func (*GreetWithDeadlineRequest) ProtoMessage ¶
func (*GreetWithDeadlineRequest) ProtoMessage()
func (*GreetWithDeadlineRequest) Reset ¶
func (m *GreetWithDeadlineRequest) Reset()
func (*GreetWithDeadlineRequest) String ¶
func (m *GreetWithDeadlineRequest) String() string
func (*GreetWithDeadlineRequest) XXX_DiscardUnknown ¶
func (m *GreetWithDeadlineRequest) XXX_DiscardUnknown()
func (*GreetWithDeadlineRequest) XXX_Marshal ¶
func (m *GreetWithDeadlineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GreetWithDeadlineRequest) XXX_Merge ¶
func (dst *GreetWithDeadlineRequest) XXX_Merge(src proto.Message)
func (*GreetWithDeadlineRequest) XXX_Size ¶
func (m *GreetWithDeadlineRequest) XXX_Size() int
func (*GreetWithDeadlineRequest) XXX_Unmarshal ¶
func (m *GreetWithDeadlineRequest) XXX_Unmarshal(b []byte) error
type GreetWithDeadlineResponse ¶
type GreetWithDeadlineResponse struct { Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GreetWithDeadlineResponse) Descriptor ¶
func (*GreetWithDeadlineResponse) Descriptor() ([]byte, []int)
func (*GreetWithDeadlineResponse) GetResult ¶
func (m *GreetWithDeadlineResponse) GetResult() string
func (*GreetWithDeadlineResponse) ProtoMessage ¶
func (*GreetWithDeadlineResponse) ProtoMessage()
func (*GreetWithDeadlineResponse) Reset ¶
func (m *GreetWithDeadlineResponse) Reset()
func (*GreetWithDeadlineResponse) String ¶
func (m *GreetWithDeadlineResponse) String() string
func (*GreetWithDeadlineResponse) XXX_DiscardUnknown ¶
func (m *GreetWithDeadlineResponse) XXX_DiscardUnknown()
func (*GreetWithDeadlineResponse) XXX_Marshal ¶
func (m *GreetWithDeadlineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GreetWithDeadlineResponse) XXX_Merge ¶
func (dst *GreetWithDeadlineResponse) XXX_Merge(src proto.Message)
func (*GreetWithDeadlineResponse) XXX_Size ¶
func (m *GreetWithDeadlineResponse) XXX_Size() int
func (*GreetWithDeadlineResponse) XXX_Unmarshal ¶
func (m *GreetWithDeadlineResponse) XXX_Unmarshal(b []byte) error
type Greeting ¶
type Greeting struct { FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Greeting) Descriptor ¶
func (*Greeting) GetFirstName ¶
func (*Greeting) GetLastName ¶
func (*Greeting) ProtoMessage ¶
func (*Greeting) ProtoMessage()
func (*Greeting) XXX_DiscardUnknown ¶
func (m *Greeting) XXX_DiscardUnknown()
func (*Greeting) XXX_Marshal ¶
func (*Greeting) XXX_Unmarshal ¶
type LongGreetRequest ¶
type LongGreetRequest struct { Greeting *Greeting `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LongGreetRequest) Descriptor ¶
func (*LongGreetRequest) Descriptor() ([]byte, []int)
func (*LongGreetRequest) GetGreeting ¶
func (m *LongGreetRequest) GetGreeting() *Greeting
func (*LongGreetRequest) ProtoMessage ¶
func (*LongGreetRequest) ProtoMessage()
func (*LongGreetRequest) Reset ¶
func (m *LongGreetRequest) Reset()
func (*LongGreetRequest) String ¶
func (m *LongGreetRequest) String() string
func (*LongGreetRequest) XXX_DiscardUnknown ¶
func (m *LongGreetRequest) XXX_DiscardUnknown()
func (*LongGreetRequest) XXX_Marshal ¶
func (m *LongGreetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LongGreetRequest) XXX_Merge ¶
func (dst *LongGreetRequest) XXX_Merge(src proto.Message)
func (*LongGreetRequest) XXX_Size ¶
func (m *LongGreetRequest) XXX_Size() int
func (*LongGreetRequest) XXX_Unmarshal ¶
func (m *LongGreetRequest) XXX_Unmarshal(b []byte) error
type LongGreetResponse ¶
type LongGreetResponse struct { Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LongGreetResponse) Descriptor ¶
func (*LongGreetResponse) Descriptor() ([]byte, []int)
func (*LongGreetResponse) GetResult ¶
func (m *LongGreetResponse) GetResult() string
func (*LongGreetResponse) ProtoMessage ¶
func (*LongGreetResponse) ProtoMessage()
func (*LongGreetResponse) Reset ¶
func (m *LongGreetResponse) Reset()
func (*LongGreetResponse) String ¶
func (m *LongGreetResponse) String() string
func (*LongGreetResponse) XXX_DiscardUnknown ¶
func (m *LongGreetResponse) XXX_DiscardUnknown()
func (*LongGreetResponse) XXX_Marshal ¶
func (m *LongGreetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LongGreetResponse) XXX_Merge ¶
func (dst *LongGreetResponse) XXX_Merge(src proto.Message)
func (*LongGreetResponse) XXX_Size ¶
func (m *LongGreetResponse) XXX_Size() int
func (*LongGreetResponse) XXX_Unmarshal ¶
func (m *LongGreetResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.