Documentation
¶
Index ¶
- Variables
- func RegisterHelloServer(s *grpc.Server, srv HelloServer)
- type HelloClient
- type HelloServer
- type Param
- func (*Param) Descriptor() ([]byte, []int)
- func (this *Param) Equal(that interface{}) bool
- func (m *Param) GetValue() string
- func (this *Param) GoString() string
- func (m *Param) Marshal() (dAtA []byte, err error)
- func (m *Param) MarshalTo(dAtA []byte) (int, error)
- func (*Param) ProtoMessage()
- func (m *Param) Reset()
- func (m *Param) Size() (n int)
- func (this *Param) String() string
- func (m *Param) Unmarshal(dAtA []byte) error
- func (m *Param) XXX_DiscardUnknown()
- func (m *Param) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Param) XXX_Merge(src proto.Message)
- func (m *Param) XXX_Size() int
- func (m *Param) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthHello = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHello = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterHelloServer ¶
func RegisterHelloServer(s *grpc.Server, srv HelloServer)
Types ¶
type HelloClient ¶
type HelloClient interface {
SayHello(ctx context.Context, in *Param, opts ...grpc.CallOption) (*Param, error)
}
HelloClient is the client API for Hello service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHelloClient ¶
func NewHelloClient(cc *grpc.ClientConn) HelloClient
type HelloServer ¶
HelloServer is the server API for Hello service.
type Param ¶
type Param struct {
Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"error,omitempty"`
}
func (*Param) Descriptor ¶
func (*Param) ProtoMessage ¶
func (*Param) ProtoMessage()
func (*Param) XXX_DiscardUnknown ¶
func (m *Param) XXX_DiscardUnknown()
func (*Param) XXX_Marshal ¶
func (*Param) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.