Documentation
¶
Overview ¶
Package go_micro_srv_chat is a generated protocol buffer package.
It is generated from these files:
proto/chat.proto
It has these top-level messages:
RegisterRequest RegisterResponse UnregisterRequest UnregisterResponse UsersRequest UsersResponse RoomsRequest RoomsResponse JoinRequest JoinResponse OutRequest OutResponse SendRequest SendResponse StreamRequest StreamResponse Event Room User Client
Index ¶
- func RegisterChatHandler(s server.Server, hdlr ChatHandler, opts ...server.HandlerOption) error
- type ChatHandler
- type ChatService
- type Chat_StreamService
- type Chat_StreamStream
- type Client
- func (*Client) Descriptor() ([]byte, []int)
- func (m *Client) GetId() string
- func (m *Client) GetIsOnline() bool
- func (m *Client) GetPlatform() string
- func (*Client) ProtoMessage()
- func (m *Client) Reset()
- func (m *Client) String() string
- func (m *Client) XXX_DiscardUnknown()
- func (m *Client) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Client) XXX_Merge(src proto.Message)
- func (m *Client) XXX_Size() int
- func (m *Client) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetBody() string
- func (m *Event) GetCreated() int64
- func (m *Event) GetFrom() string
- func (m *Event) GetId() string
- func (m *Event) GetTo() string
- func (m *Event) GetType() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type JoinRequest
- func (*JoinRequest) Descriptor() ([]byte, []int)
- func (m *JoinRequest) GetId() string
- func (m *JoinRequest) GetRoomId() string
- func (*JoinRequest) ProtoMessage()
- func (m *JoinRequest) Reset()
- func (m *JoinRequest) String() string
- func (m *JoinRequest) XXX_DiscardUnknown()
- func (m *JoinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *JoinRequest) XXX_Merge(src proto.Message)
- func (m *JoinRequest) XXX_Size() int
- func (m *JoinRequest) XXX_Unmarshal(b []byte) error
- type JoinResponse
- func (*JoinResponse) Descriptor() ([]byte, []int)
- func (*JoinResponse) ProtoMessage()
- func (m *JoinResponse) Reset()
- func (m *JoinResponse) String() string
- func (m *JoinResponse) XXX_DiscardUnknown()
- func (m *JoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *JoinResponse) XXX_Merge(src proto.Message)
- func (m *JoinResponse) XXX_Size() int
- func (m *JoinResponse) XXX_Unmarshal(b []byte) error
- type OutRequest
- func (*OutRequest) Descriptor() ([]byte, []int)
- func (m *OutRequest) GetId() string
- func (m *OutRequest) GetRoomId() string
- func (*OutRequest) ProtoMessage()
- func (m *OutRequest) Reset()
- func (m *OutRequest) String() string
- func (m *OutRequest) XXX_DiscardUnknown()
- func (m *OutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OutRequest) XXX_Merge(src proto.Message)
- func (m *OutRequest) XXX_Size() int
- func (m *OutRequest) XXX_Unmarshal(b []byte) error
- type OutResponse
- func (*OutResponse) Descriptor() ([]byte, []int)
- func (*OutResponse) ProtoMessage()
- func (m *OutResponse) Reset()
- func (m *OutResponse) String() string
- func (m *OutResponse) XXX_DiscardUnknown()
- func (m *OutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OutResponse) XXX_Merge(src proto.Message)
- func (m *OutResponse) XXX_Size() int
- func (m *OutResponse) XXX_Unmarshal(b []byte) error
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)
- func (m *RegisterRequest) GetUser() *User
- func (*RegisterRequest) ProtoMessage()
- func (m *RegisterRequest) Reset()
- func (m *RegisterRequest) String() string
- func (m *RegisterRequest) XXX_DiscardUnknown()
- func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RegisterRequest) XXX_Merge(src proto.Message)
- func (m *RegisterRequest) XXX_Size() int
- func (m *RegisterRequest) XXX_Unmarshal(b []byte) error
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)
- func (*RegisterResponse) ProtoMessage()
- func (m *RegisterResponse) Reset()
- func (m *RegisterResponse) String() string
- func (m *RegisterResponse) XXX_DiscardUnknown()
- func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RegisterResponse) XXX_Merge(src proto.Message)
- func (m *RegisterResponse) XXX_Size() int
- func (m *RegisterResponse) XXX_Unmarshal(b []byte) error
- type Room
- func (*Room) Descriptor() ([]byte, []int)
- func (m *Room) GetId() string
- func (m *Room) GetName() string
- func (*Room) ProtoMessage()
- func (m *Room) Reset()
- func (m *Room) String() string
- func (m *Room) XXX_DiscardUnknown()
- func (m *Room) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Room) XXX_Merge(src proto.Message)
- func (m *Room) XXX_Size() int
- func (m *Room) XXX_Unmarshal(b []byte) error
- type RoomsRequest
- func (*RoomsRequest) Descriptor() ([]byte, []int)
- func (m *RoomsRequest) GetId() string
- func (*RoomsRequest) ProtoMessage()
- func (m *RoomsRequest) Reset()
- func (m *RoomsRequest) String() string
- func (m *RoomsRequest) XXX_DiscardUnknown()
- func (m *RoomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomsRequest) XXX_Merge(src proto.Message)
- func (m *RoomsRequest) XXX_Size() int
- func (m *RoomsRequest) XXX_Unmarshal(b []byte) error
- type RoomsResponse
- func (*RoomsResponse) Descriptor() ([]byte, []int)
- func (m *RoomsResponse) GetRooms() []*Room
- func (*RoomsResponse) ProtoMessage()
- func (m *RoomsResponse) Reset()
- func (m *RoomsResponse) String() string
- func (m *RoomsResponse) XXX_DiscardUnknown()
- func (m *RoomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoomsResponse) XXX_Merge(src proto.Message)
- func (m *RoomsResponse) XXX_Size() int
- func (m *RoomsResponse) XXX_Unmarshal(b []byte) error
- type SendRequest
- func (*SendRequest) Descriptor() ([]byte, []int)
- func (m *SendRequest) GetEvent() *Event
- func (*SendRequest) ProtoMessage()
- func (m *SendRequest) Reset()
- func (m *SendRequest) String() string
- func (m *SendRequest) XXX_DiscardUnknown()
- func (m *SendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendRequest) XXX_Merge(src proto.Message)
- func (m *SendRequest) XXX_Size() int
- func (m *SendRequest) XXX_Unmarshal(b []byte) error
- type SendResponse
- func (*SendResponse) Descriptor() ([]byte, []int)
- func (m *SendResponse) GetId() string
- func (*SendResponse) ProtoMessage()
- func (m *SendResponse) Reset()
- func (m *SendResponse) String() string
- func (m *SendResponse) XXX_DiscardUnknown()
- func (m *SendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendResponse) XXX_Merge(src proto.Message)
- func (m *SendResponse) XXX_Size() int
- func (m *SendResponse) XXX_Unmarshal(b []byte) error
- type StreamRequest
- func (*StreamRequest) Descriptor() ([]byte, []int)
- func (m *StreamRequest) GetId() string
- func (m *StreamRequest) GetPlatform() string
- func (m *StreamRequest) GetStart() int64
- func (*StreamRequest) ProtoMessage()
- func (m *StreamRequest) Reset()
- func (m *StreamRequest) String() string
- func (req *StreamRequest) Validate() error
- func (m *StreamRequest) XXX_DiscardUnknown()
- func (m *StreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StreamRequest) XXX_Merge(src proto.Message)
- func (m *StreamRequest) XXX_Size() int
- func (m *StreamRequest) XXX_Unmarshal(b []byte) error
- type StreamResponse
- func (*StreamResponse) Descriptor() ([]byte, []int)
- func (m *StreamResponse) GetEvent() *Event
- func (*StreamResponse) ProtoMessage()
- func (m *StreamResponse) Reset()
- func (m *StreamResponse) String() string
- func (m *StreamResponse) XXX_DiscardUnknown()
- func (m *StreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StreamResponse) XXX_Merge(src proto.Message)
- func (m *StreamResponse) XXX_Size() int
- func (m *StreamResponse) XXX_Unmarshal(b []byte) error
- type UnregisterRequest
- func (*UnregisterRequest) Descriptor() ([]byte, []int)
- func (m *UnregisterRequest) GetId() string
- func (*UnregisterRequest) ProtoMessage()
- func (m *UnregisterRequest) Reset()
- func (m *UnregisterRequest) String() string
- func (m *UnregisterRequest) XXX_DiscardUnknown()
- func (m *UnregisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnregisterRequest) XXX_Merge(src proto.Message)
- func (m *UnregisterRequest) XXX_Size() int
- func (m *UnregisterRequest) XXX_Unmarshal(b []byte) error
- type UnregisterResponse
- func (*UnregisterResponse) Descriptor() ([]byte, []int)
- func (*UnregisterResponse) ProtoMessage()
- func (m *UnregisterResponse) Reset()
- func (m *UnregisterResponse) String() string
- func (m *UnregisterResponse) XXX_DiscardUnknown()
- func (m *UnregisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnregisterResponse) XXX_Merge(src proto.Message)
- func (m *UnregisterResponse) XXX_Size() int
- func (m *UnregisterResponse) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetId() string
- func (m *User) GetName() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UsersRequest
- func (*UsersRequest) Descriptor() ([]byte, []int)
- func (m *UsersRequest) GetId() string
- func (*UsersRequest) ProtoMessage()
- func (m *UsersRequest) Reset()
- func (m *UsersRequest) String() string
- func (m *UsersRequest) XXX_DiscardUnknown()
- func (m *UsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UsersRequest) XXX_Merge(src proto.Message)
- func (m *UsersRequest) XXX_Size() int
- func (m *UsersRequest) XXX_Unmarshal(b []byte) error
- type UsersResponse
- func (*UsersResponse) Descriptor() ([]byte, []int)
- func (m *UsersResponse) GetUsers() []*User
- func (*UsersResponse) ProtoMessage()
- func (m *UsersResponse) Reset()
- func (m *UsersResponse) String() string
- func (m *UsersResponse) XXX_DiscardUnknown()
- func (m *UsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UsersResponse) XXX_Merge(src proto.Message)
- func (m *UsersResponse) XXX_Size() int
- func (m *UsersResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterChatHandler ¶
func RegisterChatHandler(s server.Server, hdlr ChatHandler, opts ...server.HandlerOption) error
Types ¶
type ChatHandler ¶
type ChatHandler interface { Register(context.Context, *RegisterRequest, *RegisterResponse) error Unregister(context.Context, *UnregisterRequest, *UnregisterResponse) error Users(context.Context, *UsersRequest, *UsersResponse) error Rooms(context.Context, *RoomsRequest, *RoomsResponse) error Join(context.Context, *JoinRequest, *JoinResponse) error Out(context.Context, *OutRequest, *OutResponse) error Send(context.Context, *SendRequest, *SendResponse) error Stream(context.Context, *StreamRequest, Chat_StreamStream) error }
type ChatService ¶
type ChatService interface { Register(ctx context.Context, in *RegisterRequest, opts ...client.CallOption) (*RegisterResponse, error) Unregister(ctx context.Context, in *UnregisterRequest, opts ...client.CallOption) (*UnregisterResponse, error) Users(ctx context.Context, in *UsersRequest, opts ...client.CallOption) (*UsersResponse, error) Rooms(ctx context.Context, in *RoomsRequest, opts ...client.CallOption) (*RoomsResponse, error) Join(ctx context.Context, in *JoinRequest, opts ...client.CallOption) (*JoinResponse, error) Out(ctx context.Context, in *OutRequest, opts ...client.CallOption) (*OutResponse, error) Send(ctx context.Context, in *SendRequest, opts ...client.CallOption) (*SendResponse, error) Stream(ctx context.Context, in *StreamRequest, opts ...client.CallOption) (Chat_StreamService, error) }
func NewChatService ¶
func NewChatService(name string, c client.Client) ChatService
type Chat_StreamService ¶
type Chat_StreamService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Recv() (*StreamResponse, error) }
type Chat_StreamStream ¶
type Chat_StreamStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*StreamResponse) error }
type Client ¶
type Client struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` IsOnline bool `protobuf:"varint,3,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Client) Descriptor ¶
func (*Client) GetIsOnline ¶
func (*Client) GetPlatform ¶
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) XXX_DiscardUnknown ¶
func (m *Client) XXX_DiscardUnknown()
func (*Client) XXX_Marshal ¶
func (*Client) XXX_Unmarshal ¶
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` Created int64 `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetCreated ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type JoinRequest ¶
type JoinRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=roomId,proto3" json:"roomId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JoinRequest) Descriptor ¶
func (*JoinRequest) Descriptor() ([]byte, []int)
func (*JoinRequest) GetId ¶
func (m *JoinRequest) GetId() string
func (*JoinRequest) GetRoomId ¶
func (m *JoinRequest) GetRoomId() string
func (*JoinRequest) ProtoMessage ¶
func (*JoinRequest) ProtoMessage()
func (*JoinRequest) Reset ¶
func (m *JoinRequest) Reset()
func (*JoinRequest) String ¶
func (m *JoinRequest) String() string
func (*JoinRequest) XXX_DiscardUnknown ¶
func (m *JoinRequest) XXX_DiscardUnknown()
func (*JoinRequest) XXX_Marshal ¶
func (m *JoinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JoinRequest) XXX_Merge ¶
func (dst *JoinRequest) XXX_Merge(src proto.Message)
func (*JoinRequest) XXX_Size ¶
func (m *JoinRequest) XXX_Size() int
func (*JoinRequest) XXX_Unmarshal ¶
func (m *JoinRequest) XXX_Unmarshal(b []byte) error
type JoinResponse ¶
type JoinResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JoinResponse) Descriptor ¶
func (*JoinResponse) Descriptor() ([]byte, []int)
func (*JoinResponse) ProtoMessage ¶
func (*JoinResponse) ProtoMessage()
func (*JoinResponse) Reset ¶
func (m *JoinResponse) Reset()
func (*JoinResponse) String ¶
func (m *JoinResponse) String() string
func (*JoinResponse) XXX_DiscardUnknown ¶
func (m *JoinResponse) XXX_DiscardUnknown()
func (*JoinResponse) XXX_Marshal ¶
func (m *JoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JoinResponse) XXX_Merge ¶
func (dst *JoinResponse) XXX_Merge(src proto.Message)
func (*JoinResponse) XXX_Size ¶
func (m *JoinResponse) XXX_Size() int
func (*JoinResponse) XXX_Unmarshal ¶
func (m *JoinResponse) XXX_Unmarshal(b []byte) error
type OutRequest ¶
type OutRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=roomId,proto3" json:"roomId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutRequest) Descriptor ¶
func (*OutRequest) Descriptor() ([]byte, []int)
func (*OutRequest) GetId ¶
func (m *OutRequest) GetId() string
func (*OutRequest) GetRoomId ¶
func (m *OutRequest) GetRoomId() string
func (*OutRequest) ProtoMessage ¶
func (*OutRequest) ProtoMessage()
func (*OutRequest) Reset ¶
func (m *OutRequest) Reset()
func (*OutRequest) String ¶
func (m *OutRequest) String() string
func (*OutRequest) XXX_DiscardUnknown ¶
func (m *OutRequest) XXX_DiscardUnknown()
func (*OutRequest) XXX_Marshal ¶
func (m *OutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutRequest) XXX_Merge ¶
func (dst *OutRequest) XXX_Merge(src proto.Message)
func (*OutRequest) XXX_Size ¶
func (m *OutRequest) XXX_Size() int
func (*OutRequest) XXX_Unmarshal ¶
func (m *OutRequest) XXX_Unmarshal(b []byte) error
type OutResponse ¶
type OutResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutResponse) Descriptor ¶
func (*OutResponse) Descriptor() ([]byte, []int)
func (*OutResponse) ProtoMessage ¶
func (*OutResponse) ProtoMessage()
func (*OutResponse) Reset ¶
func (m *OutResponse) Reset()
func (*OutResponse) String ¶
func (m *OutResponse) String() string
func (*OutResponse) XXX_DiscardUnknown ¶
func (m *OutResponse) XXX_DiscardUnknown()
func (*OutResponse) XXX_Marshal ¶
func (m *OutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutResponse) XXX_Merge ¶
func (dst *OutResponse) XXX_Merge(src proto.Message)
func (*OutResponse) XXX_Size ¶
func (m *OutResponse) XXX_Size() int
func (*OutResponse) XXX_Unmarshal ¶
func (m *OutResponse) XXX_Unmarshal(b []byte) error
type RegisterRequest ¶
type RegisterRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterRequest) Descriptor ¶
func (*RegisterRequest) Descriptor() ([]byte, []int)
func (*RegisterRequest) GetUser ¶
func (m *RegisterRequest) GetUser() *User
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) Reset ¶
func (m *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (m *RegisterRequest) String() string
func (*RegisterRequest) XXX_DiscardUnknown ¶
func (m *RegisterRequest) XXX_DiscardUnknown()
func (*RegisterRequest) XXX_Marshal ¶
func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterRequest) XXX_Merge ¶
func (dst *RegisterRequest) XXX_Merge(src proto.Message)
func (*RegisterRequest) XXX_Size ¶
func (m *RegisterRequest) XXX_Size() int
func (*RegisterRequest) XXX_Unmarshal ¶
func (m *RegisterRequest) XXX_Unmarshal(b []byte) error
type RegisterResponse ¶
type RegisterResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterResponse) Descriptor ¶
func (*RegisterResponse) Descriptor() ([]byte, []int)
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) Reset ¶
func (m *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (m *RegisterResponse) String() string
func (*RegisterResponse) XXX_DiscardUnknown ¶
func (m *RegisterResponse) XXX_DiscardUnknown()
func (*RegisterResponse) XXX_Marshal ¶
func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterResponse) XXX_Merge ¶
func (dst *RegisterResponse) XXX_Merge(src proto.Message)
func (*RegisterResponse) XXX_Size ¶
func (m *RegisterResponse) XXX_Size() int
func (*RegisterResponse) XXX_Unmarshal ¶
func (m *RegisterResponse) XXX_Unmarshal(b []byte) error
type Room ¶
type Room struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Room) Descriptor ¶
func (*Room) ProtoMessage ¶
func (*Room) ProtoMessage()
func (*Room) XXX_DiscardUnknown ¶
func (m *Room) XXX_DiscardUnknown()
func (*Room) XXX_Unmarshal ¶
type RoomsRequest ¶
type RoomsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomsRequest) Descriptor ¶
func (*RoomsRequest) Descriptor() ([]byte, []int)
func (*RoomsRequest) GetId ¶
func (m *RoomsRequest) GetId() string
func (*RoomsRequest) ProtoMessage ¶
func (*RoomsRequest) ProtoMessage()
func (*RoomsRequest) Reset ¶
func (m *RoomsRequest) Reset()
func (*RoomsRequest) String ¶
func (m *RoomsRequest) String() string
func (*RoomsRequest) XXX_DiscardUnknown ¶
func (m *RoomsRequest) XXX_DiscardUnknown()
func (*RoomsRequest) XXX_Marshal ¶
func (m *RoomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomsRequest) XXX_Merge ¶
func (dst *RoomsRequest) XXX_Merge(src proto.Message)
func (*RoomsRequest) XXX_Size ¶
func (m *RoomsRequest) XXX_Size() int
func (*RoomsRequest) XXX_Unmarshal ¶
func (m *RoomsRequest) XXX_Unmarshal(b []byte) error
type RoomsResponse ¶
type RoomsResponse struct { Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomsResponse) Descriptor ¶
func (*RoomsResponse) Descriptor() ([]byte, []int)
func (*RoomsResponse) GetRooms ¶
func (m *RoomsResponse) GetRooms() []*Room
func (*RoomsResponse) ProtoMessage ¶
func (*RoomsResponse) ProtoMessage()
func (*RoomsResponse) Reset ¶
func (m *RoomsResponse) Reset()
func (*RoomsResponse) String ¶
func (m *RoomsResponse) String() string
func (*RoomsResponse) XXX_DiscardUnknown ¶
func (m *RoomsResponse) XXX_DiscardUnknown()
func (*RoomsResponse) XXX_Marshal ¶
func (m *RoomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoomsResponse) XXX_Merge ¶
func (dst *RoomsResponse) XXX_Merge(src proto.Message)
func (*RoomsResponse) XXX_Size ¶
func (m *RoomsResponse) XXX_Size() int
func (*RoomsResponse) XXX_Unmarshal ¶
func (m *RoomsResponse) XXX_Unmarshal(b []byte) error
type SendRequest ¶
type SendRequest struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendRequest) Descriptor ¶
func (*SendRequest) Descriptor() ([]byte, []int)
func (*SendRequest) GetEvent ¶
func (m *SendRequest) GetEvent() *Event
func (*SendRequest) ProtoMessage ¶
func (*SendRequest) ProtoMessage()
func (*SendRequest) Reset ¶
func (m *SendRequest) Reset()
func (*SendRequest) String ¶
func (m *SendRequest) String() string
func (*SendRequest) XXX_DiscardUnknown ¶
func (m *SendRequest) XXX_DiscardUnknown()
func (*SendRequest) XXX_Marshal ¶
func (m *SendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendRequest) XXX_Merge ¶
func (dst *SendRequest) XXX_Merge(src proto.Message)
func (*SendRequest) XXX_Size ¶
func (m *SendRequest) XXX_Size() int
func (*SendRequest) XXX_Unmarshal ¶
func (m *SendRequest) XXX_Unmarshal(b []byte) error
type SendResponse ¶
type SendResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendResponse) Descriptor ¶
func (*SendResponse) Descriptor() ([]byte, []int)
func (*SendResponse) GetId ¶
func (m *SendResponse) GetId() string
func (*SendResponse) ProtoMessage ¶
func (*SendResponse) ProtoMessage()
func (*SendResponse) Reset ¶
func (m *SendResponse) Reset()
func (*SendResponse) String ¶
func (m *SendResponse) String() string
func (*SendResponse) XXX_DiscardUnknown ¶
func (m *SendResponse) XXX_DiscardUnknown()
func (*SendResponse) XXX_Marshal ¶
func (m *SendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendResponse) XXX_Merge ¶
func (dst *SendResponse) XXX_Merge(src proto.Message)
func (*SendResponse) XXX_Size ¶
func (m *SendResponse) XXX_Size() int
func (*SendResponse) XXX_Unmarshal ¶
func (m *SendResponse) XXX_Unmarshal(b []byte) error
type StreamRequest ¶
type StreamRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamRequest) Descriptor ¶
func (*StreamRequest) Descriptor() ([]byte, []int)
func (*StreamRequest) GetId ¶
func (m *StreamRequest) GetId() string
func (*StreamRequest) GetPlatform ¶
func (m *StreamRequest) GetPlatform() string
func (*StreamRequest) GetStart ¶
func (m *StreamRequest) GetStart() int64
func (*StreamRequest) ProtoMessage ¶
func (*StreamRequest) ProtoMessage()
func (*StreamRequest) Reset ¶
func (m *StreamRequest) Reset()
func (*StreamRequest) String ¶
func (m *StreamRequest) String() string
func (*StreamRequest) Validate ¶
func (req *StreamRequest) Validate() error
func (*StreamRequest) XXX_DiscardUnknown ¶
func (m *StreamRequest) XXX_DiscardUnknown()
func (*StreamRequest) XXX_Marshal ¶
func (m *StreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamRequest) XXX_Merge ¶
func (dst *StreamRequest) XXX_Merge(src proto.Message)
func (*StreamRequest) XXX_Size ¶
func (m *StreamRequest) XXX_Size() int
func (*StreamRequest) XXX_Unmarshal ¶
func (m *StreamRequest) XXX_Unmarshal(b []byte) error
type StreamResponse ¶
type StreamResponse struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamResponse) Descriptor ¶
func (*StreamResponse) Descriptor() ([]byte, []int)
func (*StreamResponse) GetEvent ¶
func (m *StreamResponse) GetEvent() *Event
func (*StreamResponse) ProtoMessage ¶
func (*StreamResponse) ProtoMessage()
func (*StreamResponse) Reset ¶
func (m *StreamResponse) Reset()
func (*StreamResponse) String ¶
func (m *StreamResponse) String() string
func (*StreamResponse) XXX_DiscardUnknown ¶
func (m *StreamResponse) XXX_DiscardUnknown()
func (*StreamResponse) XXX_Marshal ¶
func (m *StreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamResponse) XXX_Merge ¶
func (dst *StreamResponse) XXX_Merge(src proto.Message)
func (*StreamResponse) XXX_Size ¶
func (m *StreamResponse) XXX_Size() int
func (*StreamResponse) XXX_Unmarshal ¶
func (m *StreamResponse) XXX_Unmarshal(b []byte) error
type UnregisterRequest ¶
type UnregisterRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnregisterRequest) Descriptor ¶
func (*UnregisterRequest) Descriptor() ([]byte, []int)
func (*UnregisterRequest) GetId ¶
func (m *UnregisterRequest) GetId() string
func (*UnregisterRequest) ProtoMessage ¶
func (*UnregisterRequest) ProtoMessage()
func (*UnregisterRequest) Reset ¶
func (m *UnregisterRequest) Reset()
func (*UnregisterRequest) String ¶
func (m *UnregisterRequest) String() string
func (*UnregisterRequest) XXX_DiscardUnknown ¶
func (m *UnregisterRequest) XXX_DiscardUnknown()
func (*UnregisterRequest) XXX_Marshal ¶
func (m *UnregisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterRequest) XXX_Merge ¶
func (dst *UnregisterRequest) XXX_Merge(src proto.Message)
func (*UnregisterRequest) XXX_Size ¶
func (m *UnregisterRequest) XXX_Size() int
func (*UnregisterRequest) XXX_Unmarshal ¶
func (m *UnregisterRequest) XXX_Unmarshal(b []byte) error
type UnregisterResponse ¶
type UnregisterResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnregisterResponse) Descriptor ¶
func (*UnregisterResponse) Descriptor() ([]byte, []int)
func (*UnregisterResponse) ProtoMessage ¶
func (*UnregisterResponse) ProtoMessage()
func (*UnregisterResponse) Reset ¶
func (m *UnregisterResponse) Reset()
func (*UnregisterResponse) String ¶
func (m *UnregisterResponse) String() string
func (*UnregisterResponse) XXX_DiscardUnknown ¶
func (m *UnregisterResponse) XXX_DiscardUnknown()
func (*UnregisterResponse) XXX_Marshal ¶
func (m *UnregisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterResponse) XXX_Merge ¶
func (dst *UnregisterResponse) XXX_Merge(src proto.Message)
func (*UnregisterResponse) XXX_Size ¶
func (m *UnregisterResponse) XXX_Size() int
func (*UnregisterResponse) XXX_Unmarshal ¶
func (m *UnregisterResponse) XXX_Unmarshal(b []byte) error
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UsersRequest ¶
type UsersRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UsersRequest) Descriptor ¶
func (*UsersRequest) Descriptor() ([]byte, []int)
func (*UsersRequest) GetId ¶
func (m *UsersRequest) GetId() string
func (*UsersRequest) ProtoMessage ¶
func (*UsersRequest) ProtoMessage()
func (*UsersRequest) Reset ¶
func (m *UsersRequest) Reset()
func (*UsersRequest) String ¶
func (m *UsersRequest) String() string
func (*UsersRequest) XXX_DiscardUnknown ¶
func (m *UsersRequest) XXX_DiscardUnknown()
func (*UsersRequest) XXX_Marshal ¶
func (m *UsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsersRequest) XXX_Merge ¶
func (dst *UsersRequest) XXX_Merge(src proto.Message)
func (*UsersRequest) XXX_Size ¶
func (m *UsersRequest) XXX_Size() int
func (*UsersRequest) XXX_Unmarshal ¶
func (m *UsersRequest) XXX_Unmarshal(b []byte) error
type UsersResponse ¶
type UsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UsersResponse) Descriptor ¶
func (*UsersResponse) Descriptor() ([]byte, []int)
func (*UsersResponse) GetUsers ¶
func (m *UsersResponse) GetUsers() []*User
func (*UsersResponse) ProtoMessage ¶
func (*UsersResponse) ProtoMessage()
func (*UsersResponse) Reset ¶
func (m *UsersResponse) Reset()
func (*UsersResponse) String ¶
func (m *UsersResponse) String() string
func (*UsersResponse) XXX_DiscardUnknown ¶
func (m *UsersResponse) XXX_DiscardUnknown()
func (*UsersResponse) XXX_Marshal ¶
func (m *UsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsersResponse) XXX_Merge ¶
func (dst *UsersResponse) XXX_Merge(src proto.Message)
func (*UsersResponse) XXX_Size ¶
func (m *UsersResponse) XXX_Size() int
func (*UsersResponse) XXX_Unmarshal ¶
func (m *UsersResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.