controllers

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerCommon

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

ControllerCommon ...

func NewControllerCommon

func NewControllerCommon(client *client.Client,
	config *m.AppConfig) *ControllerCommon

NewControllerCommon ...

func (ControllerCommon) HTTP200

func (c ControllerCommon) HTTP200(ctx echo.Context, data interface{}) error

HTTP200 ...

type ControllerIndex

type ControllerIndex struct {
	*ControllerCommon
}

ControllerIndex ...

func NewIndexController

func NewIndexController(common *ControllerCommon,
) *ControllerIndex

NewIndexController ...

func (*ControllerIndex) Index

func (c *ControllerIndex) Index(ctx echo.Context) error

type ControllerWs

type ControllerWs struct {
	*ControllerCommon
}

ControllerWs ...

func NewWsController

func NewWsController(common *ControllerCommon,
) *ControllerWs

NewWsController ...

func (*ControllerWs) Ws

func (c *ControllerWs) Ws(ctx echo.Context) error

type Controllers

type Controllers struct {
	*ControllerIndex
	*ControllerWs
}

Controllers ...

func NewControllers

func NewControllers(client *client.Client,
	config *m.AppConfig) *Controllers

NewControllers ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳