controller

package
v0.0.0-...-468e309 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	Controller
}

func (*AuthController) BeginAuth

func (c *AuthController) BeginAuth(w http.ResponseWriter, r *http.Request)

func (*AuthController) CompleteAuth

func (c *AuthController) CompleteAuth(w http.ResponseWriter, r *http.Request)

func (*AuthController) HandleCallback

func (c *AuthController) HandleCallback(w http.ResponseWriter, r *http.Request)

type Controller

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

func (*Controller) SendInternalError

func (c *Controller) SendInternalError(w http.ResponseWriter, r *http.Request)

type Controllers

type Controllers struct {
	Auth AuthController
	User UserController
	Room RoomController
}

func Init

func Init(a app.App) Controllers

type RoomController

type RoomController struct {
	Controller
}

func (*RoomController) Create

func (c *RoomController) Create(w http.ResponseWriter, r *http.Request)

func (*RoomController) DeployVM

func (c *RoomController) DeployVM(w http.ResponseWriter, r *http.Request)

func (*RoomController) Get

func (*RoomController) GetLatest

func (c *RoomController) GetLatest(w http.ResponseWriter, r *http.Request)

func (*RoomController) GetQueue

func (c *RoomController) GetQueue(w http.ResponseWriter, r *http.Request)

func (*RoomController) SendMessage

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

func (*RoomController) Update

func (c *RoomController) Update(w http.ResponseWriter, r *http.Request)

type UserController

type UserController struct {
	Controller
}

func (*UserController) GetMyUser

func (c *UserController) GetMyUser(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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