job

package
v0.0.0-...-bdf525e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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 Server

type Server struct {
	core.Core
}

func NewServer

func NewServer(core core.Core) *Server

func (*Server) Dispatch

func (s *Server) Dispatch(ctx context.Context, message async.Message) error

func (*Server) Handler

func (s *Server) Handler() http.Handler

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL