Documentation ¶
Index ¶
- type InternalMsgConsumer
- type ReqGetFriendships
- func (ReqGetFriendships) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error
- func (ReqGetFriendships) GetAPIType() int8
- func (ReqGetFriendships) GetMethod() []string
- func (ReqGetFriendships) GetMetricsName() string
- func (ReqGetFriendships) GetMsgType() int32
- func (ReqGetFriendships) GetPrefix() []string
- func (ReqGetFriendships) GetRoute() string
- func (ReqGetFriendships) GetTopic(cfg *config.Dendrite) string
- func (ReqGetFriendships) NewRequest() core.Coder
- func (ReqGetFriendships) NewResponse(code int) core.Coder
- func (ReqGetFriendships) Process(ctx context.Context, consumer interface{}, msg core.Coder, ...) (int, core.Coder)
- type ReqGetRoomID
- func (ReqGetRoomID) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error
- func (ReqGetRoomID) GetAPIType() int8
- func (ReqGetRoomID) GetMethod() []string
- func (ReqGetRoomID) GetMetricsName() string
- func (ReqGetRoomID) GetMsgType() int32
- func (ReqGetRoomID) GetPrefix() []string
- func (ReqGetRoomID) GetRoute() string
- func (ReqGetRoomID) GetTopic(cfg *config.Dendrite) string
- func (ReqGetRoomID) NewRequest() core.Coder
- func (ReqGetRoomID) NewResponse(code int) core.Coder
- func (ReqGetRoomID) Process(ctx context.Context, consumer interface{}, msg core.Coder, ...) (int, core.Coder)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalMsgConsumer ¶
type InternalMsgConsumer struct { apiconsumer.APIConsumer // contains filtered or unexported fields }
func NewInternalMsgConsumer ¶
func NewInternalMsgConsumer( cfg config.Dendrite, rpcCli *common.RpcClient, idg *uid.UidGenerator, db model.RCSServerDatabase, ) *InternalMsgConsumer
func (*InternalMsgConsumer) Start ¶
func (c *InternalMsgConsumer) Start()
type ReqGetFriendships ¶
type ReqGetFriendships struct{}
func (ReqGetFriendships) FillRequest ¶
func (ReqGetFriendships) GetAPIType ¶
func (ReqGetFriendships) GetAPIType() int8
func (ReqGetFriendships) GetMethod ¶
func (ReqGetFriendships) GetMethod() []string
func (ReqGetFriendships) GetMetricsName ¶
func (ReqGetFriendships) GetMetricsName() string
func (ReqGetFriendships) GetMsgType ¶
func (ReqGetFriendships) GetMsgType() int32
func (ReqGetFriendships) GetPrefix ¶
func (ReqGetFriendships) GetPrefix() []string
func (ReqGetFriendships) GetRoute ¶
func (ReqGetFriendships) GetRoute() string
func (ReqGetFriendships) NewRequest ¶
func (ReqGetFriendships) NewRequest() core.Coder
func (ReqGetFriendships) NewResponse ¶
func (ReqGetFriendships) NewResponse(code int) core.Coder
type ReqGetRoomID ¶
type ReqGetRoomID struct{}
func (ReqGetRoomID) FillRequest ¶
func (ReqGetRoomID) GetAPIType ¶
func (ReqGetRoomID) GetAPIType() int8
func (ReqGetRoomID) GetMethod ¶
func (ReqGetRoomID) GetMethod() []string
func (ReqGetRoomID) GetMetricsName ¶
func (ReqGetRoomID) GetMetricsName() string
func (ReqGetRoomID) GetMsgType ¶
func (ReqGetRoomID) GetMsgType() int32
func (ReqGetRoomID) GetPrefix ¶
func (ReqGetRoomID) GetPrefix() []string
func (ReqGetRoomID) GetRoute ¶
func (ReqGetRoomID) GetRoute() string
func (ReqGetRoomID) NewRequest ¶
func (ReqGetRoomID) NewRequest() core.Coder
func (ReqGetRoomID) NewResponse ¶
func (ReqGetRoomID) NewResponse(code int) core.Coder
Click to show internal directories.
Click to hide internal directories.