Documentation ¶
Index ¶
- func RegisterRandomServiceServer(s *grpc.Server, srv RandomServiceServer)
- type Random
- func (*Random) Descriptor() ([]byte, []int)
- func (m *Random) GetRandomInt() int32
- func (m *Random) GetRandomString() string
- func (*Random) ProtoMessage()
- func (m *Random) Reset()
- func (m *Random) String() string
- func (m *Random) XXX_DiscardUnknown()
- func (m *Random) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Random) XXX_Merge(src proto.Message)
- func (m *Random) XXX_Size() int
- func (m *Random) XXX_Unmarshal(b []byte) error
- type RandomServiceClient
- type RandomServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRandomServiceServer ¶
func RegisterRandomServiceServer(s *grpc.Server, srv RandomServiceServer)
Types ¶
type Random ¶
type Random struct { RandomString string `protobuf:"bytes,1,opt,name=randomString,proto3" json:"randomString,omitempty"` RandomInt int32 `protobuf:"varint,2,opt,name=randomInt,proto3" json:"randomInt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Random) Descriptor ¶
func (*Random) GetRandomInt ¶
func (*Random) GetRandomString ¶
func (*Random) ProtoMessage ¶
func (*Random) ProtoMessage()
func (*Random) XXX_DiscardUnknown ¶
func (m *Random) XXX_DiscardUnknown()
func (*Random) XXX_Marshal ¶
func (*Random) XXX_Unmarshal ¶
type RandomServiceClient ¶
type RandomServiceClient interface {
DoSomething(ctx context.Context, in *Random, opts ...grpc.CallOption) (*Random, error)
}
RandomServiceClient is the client API for RandomService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRandomServiceClient ¶
func NewRandomServiceClient(cc *grpc.ClientConn) RandomServiceClient
Click to show internal directories.
Click to hide internal directories.