controller

package
v0.0.0-...-f70499c Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

func BadRequest(w http.ResponseWriter, r *http.Request)

func CheckUsername

func CheckUsername(w http.ResponseWriter, r *http.Request)

func CreateNewChannel

func CreateNewChannel(w http.ResponseWriter, r *http.Request)

func GetChannel

func GetChannel(w http.ResponseWriter, r *http.Request)

func InternalServerError

func InternalServerError(w http.ResponseWriter, r *http.Request)

func Join

func Join(w http.ResponseWriter, r *http.Request)

func Login

func Login(w http.ResponseWriter, r *http.Request)

func Logout

func Logout(w http.ResponseWriter, r *http.Request)

func Main

func Main(w http.ResponseWriter, r *http.Request)

func NewChannelForm

func NewChannelForm(w http.ResponseWriter, r *http.Request)

func ProvideManagers

func ProvideManagers(um manager.User, sm manager.Session, cm manager.Channel, mm manager.Message)

func ProvideServices

func ProvideServices(cs service.Chat, rs service.Register)

func Register

func Register(w http.ResponseWriter, r *http.Request)

func SendMessage

func SendMessage(w http.ResponseWriter, r *http.Request)

func Welcome

func Welcome(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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