Documentation ¶
Overview ¶
Package rpc is a generated protocol buffer package.
It is generated from these files:
rpc.proto
It has these top-level messages:
SessionFilter CloseSessionInput CloseSessionOutput ListSessionsOutput
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBrokerServiceServer ¶
func RegisterBrokerServiceServer(s *grpc.Server, srv BrokerServiceServer)
Types ¶
type BrokerServiceClient ¶
type BrokerServiceClient interface { ListSessions(ctx context.Context, in *SessionFilter, opts ...grpc.CallOption) (*ListSessionsOutput, error) CloseSession(ctx context.Context, in *CloseSessionInput, opts ...grpc.CallOption) (*CloseSessionOutput, error) }
func NewBrokerServiceClient ¶
func NewBrokerServiceClient(cc *grpc.ClientConn) BrokerServiceClient
type BrokerServiceServer ¶
type BrokerServiceServer interface { ListSessions(context.Context, *SessionFilter) (*ListSessionsOutput, error) CloseSession(context.Context, *CloseSessionInput) (*CloseSessionOutput, error) }
type CloseSessionInput ¶ added in v0.0.32
type CloseSessionInput struct {
ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
}
func (*CloseSessionInput) Descriptor ¶ added in v0.0.32
func (*CloseSessionInput) Descriptor() ([]byte, []int)
func (*CloseSessionInput) GetID ¶ added in v0.0.32
func (m *CloseSessionInput) GetID() string
func (*CloseSessionInput) ProtoMessage ¶ added in v0.0.32
func (*CloseSessionInput) ProtoMessage()
func (*CloseSessionInput) Reset ¶ added in v0.0.32
func (m *CloseSessionInput) Reset()
func (*CloseSessionInput) String ¶ added in v0.0.32
func (m *CloseSessionInput) String() string
type CloseSessionOutput ¶ added in v0.0.32
type CloseSessionOutput struct {
ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
}
func (*CloseSessionOutput) Descriptor ¶ added in v0.0.32
func (*CloseSessionOutput) Descriptor() ([]byte, []int)
func (*CloseSessionOutput) GetID ¶ added in v0.0.32
func (m *CloseSessionOutput) GetID() string
func (*CloseSessionOutput) ProtoMessage ¶ added in v0.0.32
func (*CloseSessionOutput) ProtoMessage()
func (*CloseSessionOutput) Reset ¶ added in v0.0.32
func (m *CloseSessionOutput) Reset()
func (*CloseSessionOutput) String ¶ added in v0.0.32
func (m *CloseSessionOutput) String() string
type ListSessionsOutput ¶
type ListSessionsOutput struct {
Sessions []*sessions.Session `protobuf:"bytes,1,rep,name=Sessions" json:"Sessions,omitempty"`
}
func (*ListSessionsOutput) Descriptor ¶
func (*ListSessionsOutput) Descriptor() ([]byte, []int)
func (*ListSessionsOutput) GetSessions ¶
func (m *ListSessionsOutput) GetSessions() []*sessions.Session
func (*ListSessionsOutput) ProtoMessage ¶
func (*ListSessionsOutput) ProtoMessage()
func (*ListSessionsOutput) Reset ¶
func (m *ListSessionsOutput) Reset()
func (*ListSessionsOutput) String ¶
func (m *ListSessionsOutput) String() string
type SessionFilter ¶
type SessionFilter struct { }
func (*SessionFilter) Descriptor ¶
func (*SessionFilter) Descriptor() ([]byte, []int)
func (*SessionFilter) ProtoMessage ¶
func (*SessionFilter) ProtoMessage()
func (*SessionFilter) Reset ¶
func (m *SessionFilter) Reset()
func (*SessionFilter) String ¶
func (m *SessionFilter) String() string
Click to show internal directories.
Click to hide internal directories.