messages

package
v0.0.0-...-ddc7661 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CLIENT_HELO  = "CLIENT_HELO"
	USER_GET     = "USER_GET"
	USERS_GET    = "USERS_GET"
	USER_UPDATE  = "USER_UPDATE"
	USERS_UPDATE = "USERS_UPDATE"
	USER_DELETE  = "USER_DELETE"

	LIST_CREATE                = "LIST_CREATE"
	LIST_DELETE                = "LIST_DELETE"
	LIST_UPDATE                = "LIST_UPDATE"
	LIST_ADD_USER              = "LIST_ADD_USER"
	LIST_REMOVE_USER           = "LIST_REMOVE_USER"
	LIST_POP                   = "LIST_POP"
	LISTS_UPDATE               = "LISTS_UPDATE"
	LISTS_GET                  = "LISTS_GET"
	LIST_SET_DISCUSSION_STATUS = "LIST_SET_DISCUSSION_STATUS"
	LIST_ADMIN_ADD_USER        = "LIST_ADMIN_ADD_USER"
	LIST_ADMIN_REMOVE_SPEAKER  = "LIST_ADMIN_REMOVE_SPEAKER"

	ADMIN_LOGIN                = "ADMIN_LOGIN"
	ADMIN_GENERATE_PASSWORD    = "ADMIN_GENERATE_PASSWORD"
	ADMIN_UPDATE_PASSWORD_LIST = "ADMIN_UPDATE_PASSWORD_LIST"

	ERROR   = "ERROR"
	SUCCESS = "SUCCESS"

	USER_CONNECTION_CLOSED = "USER_CONNECTION_CLOSED"
	USER_CONNECTION_OPENED = "USER_CONNECTION_OPENED"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationRequest

type AuthenticationRequest struct {
	Password string `json:"password"`
}

type JsonMessage

type JsonMessage struct {
	Message string `json:"msg"`
}

type ListActionData

type ListActionData struct {
	Id uuid.UUID `json:"id"`
}

type SendEvent

type SendEvent struct {
	Topic   string
	Content []byte
}

func (SendEvent) String

func (e SendEvent) String() string

Jump to

Keyboard shortcuts

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