Documentation
¶
Index ¶
- type NewChannelJob
- type NewUserJob
- type ResetDatabase
- type Server
- func (s *Server) Dispatch(ctx context.Context, message async.Message) error
- func (s *Server) Handler() http.Handler
- func (s *Server) NewChannelJob(ctx context.Context, payload NewChannelJob) error
- func (s *Server) NewUserJob(ctx context.Context, payload NewUserJob) error
- func (s *Server) ResetDatabase(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewChannelJob ¶
type NewChannelJob struct {
ChannelID string
}
func (NewChannelJob) Name ¶
func (j NewChannelJob) Name() string
type NewUserJob ¶
type NewUserJob struct {
UserID string
}
func (NewUserJob) Name ¶
func (j NewUserJob) Name() string
type ResetDatabase ¶
type ResetDatabase struct{}
func (ResetDatabase) Name ¶
func (j ResetDatabase) Name() string
type Server ¶
func (*Server) NewChannelJob ¶
func (s *Server) NewChannelJob(ctx context.Context, payload NewChannelJob) error
func (*Server) NewUserJob ¶
func (s *Server) NewUserJob(ctx context.Context, payload NewUserJob) error
Click to show internal directories.
Click to hide internal directories.