Documentation ¶
Overview ¶
Package portal is a generated protocol buffer package.
It is generated from these files:
portal.proto
It has these top-level messages:
PortalRequest PortalResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPortalServer ¶
func RegisterPortalServer(s *grpc.Server, srv PortalServer)
Types ¶
type PortalClient ¶
type PortalClient interface {
Portal(ctx context.Context, in *PortalRequest, opts ...grpc.CallOption) (*PortalResponse, error)
}
func NewPortalClient ¶
func NewPortalClient(cc *grpc.ClientConn) PortalClient
type PortalRequest ¶
type PortalRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*PortalRequest) Descriptor ¶
func (*PortalRequest) Descriptor() ([]byte, []int)
func (*PortalRequest) GetName ¶
func (m *PortalRequest) GetName() string
func (*PortalRequest) ProtoMessage ¶
func (*PortalRequest) ProtoMessage()
func (*PortalRequest) Reset ¶
func (m *PortalRequest) Reset()
func (*PortalRequest) String ¶
func (m *PortalRequest) String() string
type PortalResponse ¶
type PortalResponse struct {
Response string `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
}
func (*PortalResponse) Descriptor ¶
func (*PortalResponse) Descriptor() ([]byte, []int)
func (*PortalResponse) GetResponse ¶
func (m *PortalResponse) GetResponse() string
func (*PortalResponse) ProtoMessage ¶
func (*PortalResponse) ProtoMessage()
func (*PortalResponse) Reset ¶
func (m *PortalResponse) Reset()
func (*PortalResponse) String ¶
func (m *PortalResponse) String() string
type PortalServer ¶
type PortalServer interface {
Portal(context.Context, *PortalRequest) (*PortalResponse, error)
}
Click to show internal directories.
Click to hide internal directories.