message_handler

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRequest

type AuthRequest struct {
}

type MessageHandler

type MessageHandler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(store store.MessageStore, auth auth.Interface) (*MessageHandler, error)

func (*MessageHandler) Handle

func (d *MessageHandler) Handle(cInfo *gate.Info, msg *messages.GlideMessage) error

func (*MessageHandler) PutMessageHandler

func (d *MessageHandler) PutMessageHandler(action messages.Action, i messaging.HandlerFunc)

func (*MessageHandler) SetAuthorize

func (d *MessageHandler) SetAuthorize(a auth.Interface)

func (*MessageHandler) SetGate

func (d *MessageHandler) SetGate(g gate.Gateway)

Jump to

Keyboard shortcuts

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