Documentation ¶
Index ¶
- func RegisterHelloAgentServer(s *grpc.Server, srv HelloAgentServer)
- func RegisterHollaAgentServer(s *grpc.Server, srv HollaAgentServer)
- type Hello
- func (*Hello) Descriptor() ([]byte, []int)
- func (m *Hello) GetName() string
- func (*Hello) ProtoMessage()
- func (m *Hello) Reset()
- func (m *Hello) String() string
- func (m *Hello) XXX_DiscardUnknown()
- func (m *Hello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Hello) XXX_Merge(src proto.Message)
- func (m *Hello) XXX_Size() int
- func (m *Hello) XXX_Unmarshal(b []byte) error
- type HelloAgentClient
- type HelloAgentServer
- type Holla
- func (*Holla) Descriptor() ([]byte, []int)
- func (m *Holla) GetName() string
- func (*Holla) ProtoMessage()
- func (m *Holla) Reset()
- func (m *Holla) String() string
- func (m *Holla) XXX_DiscardUnknown()
- func (m *Holla) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Holla) XXX_Merge(src proto.Message)
- func (m *Holla) XXX_Size() int
- func (m *Holla) XXX_Unmarshal(b []byte) error
- type HollaAgentClient
- type HollaAgentServer
- type UnimplementedHelloAgentServer
- type UnimplementedHollaAgentServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHelloAgentServer ¶
func RegisterHelloAgentServer(s *grpc.Server, srv HelloAgentServer)
func RegisterHollaAgentServer ¶
func RegisterHollaAgentServer(s *grpc.Server, srv HollaAgentServer)
Types ¶
type Hello ¶
type Hello struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Hello) Descriptor ¶
func (*Hello) ProtoMessage ¶
func (*Hello) ProtoMessage()
func (*Hello) XXX_DiscardUnknown ¶
func (m *Hello) XXX_DiscardUnknown()
func (*Hello) XXX_Marshal ¶
func (*Hello) XXX_Unmarshal ¶
type HelloAgentClient ¶
type HelloAgentClient interface {
PingHello(ctx context.Context, in *Hello, opts ...grpc.CallOption) (*Hello, error)
}
HelloAgentClient is the client API for HelloAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHelloAgentClient ¶
func NewHelloAgentClient(cc *grpc.ClientConn) HelloAgentClient
type HelloAgentServer ¶
HelloAgentServer is the server API for HelloAgent service.
type Holla ¶
type Holla struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Holla) Descriptor ¶
func (*Holla) ProtoMessage ¶
func (*Holla) ProtoMessage()
func (*Holla) XXX_DiscardUnknown ¶
func (m *Holla) XXX_DiscardUnknown()
func (*Holla) XXX_Marshal ¶
func (*Holla) XXX_Unmarshal ¶
type HollaAgentClient ¶
type HollaAgentClient interface {
PingHolla(ctx context.Context, in *Holla, opts ...grpc.CallOption) (*Holla, error)
}
HollaAgentClient is the client API for HollaAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHollaAgentClient ¶
func NewHollaAgentClient(cc *grpc.ClientConn) HollaAgentClient
type HollaAgentServer ¶
HollaAgentServer is the server API for HollaAgent service.
type UnimplementedHelloAgentServer ¶
type UnimplementedHelloAgentServer struct { }
UnimplementedHelloAgentServer can be embedded to have forward compatible implementations.
type UnimplementedHollaAgentServer ¶
type UnimplementedHollaAgentServer struct { }
UnimplementedHollaAgentServer can be embedded to have forward compatible implementations.