api

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(e *echo.Group, authMiddleware echo.MiddlewareFunc)

func Control

func Control(e *echo.Group, authMiddleware echo.MiddlewareFunc)

func Info

func Info(e *echo.Group)

func Login

func Login(e *echo.Group)

func Send

func Send(e *echo.Group, authMiddleware echo.MiddlewareFunc)

func Settings

func Settings(c *echo.Group, authMiddleware echo.MiddlewareFunc)

func Template

func Template(e *echo.Group, authMiddleware echo.MiddlewareFunc)

func Token

func Token(e *echo.Group, authMiddleware echo.MiddlewareFunc)

func User

func User(e *echo.Group, authMiddleware echo.MiddlewareFunc)

Types

type AuthPureID

type AuthPureID struct {
	models.AuthPure
	apimodels.ID
}

type ControlPureContentID

type ControlPureContentID struct {
	models.ControlPureContent
	apimodels.ID
}

type ControlPureID

type ControlPureID struct {
	models.ControlPure
	apimodels.ID
}

type ItemName

type ItemName struct {
	Item string `json:"item" example:"template1"`
	Name string `json:"name" example:"deepcore/template1"`
}

type LoginModel

type LoginModel struct {
	Login    string `json:"login" example:"admin"`
	Password string `json:"password" example:"admin"`
}

type LoginToken

type LoginToken struct {
	Token string `json:"token" example:"tokenJWT"`
}

type MetaFolder

type MetaFolder struct {
	Folder string `json:"folder" query:"folder" example:"folderx"`
	apimodels.Meta
}

type TemplatePureID

type TemplatePureID struct {
	models.TemplatePure
	apimodels.ID
}

type TokenDataByID

type TokenDataByID struct {
	models.TokenDataBy
	apimodels.ID
}

type UserDataID

type UserDataID struct {
	models.UserData
	apimodels.ID
}

type UserMetaAdmin

type UserMetaAdmin struct {
	Admin bool `json:"admin,omitempty" query:"admin"`
	apimodels.Meta
}

type UserPureID

type UserPureID struct {
	models.UserPure
	apimodels.ID
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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