confgo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigStatics

func ConfigStatics(c echo.Context) error

ConfigStatics ..

func TplCreate

func TplCreate(c echo.Context) error

TplCreate Create a configuration template

func TplDelete

func TplDelete(c echo.Context) error

TplDelete ...

func TplInfo

func TplInfo(c echo.Context) error

TplInfo ...

func TplList

func TplList(c echo.Context) error

TplList ..

func TplUpdate

func TplUpdate(c echo.Context) error

TplUpdate ...

Types

type ConfigStaticsInfo

type ConfigStaticsInfo struct {
	Value int    `json:"value"`
	Name  string `json:"name"`
}

ConfigStaticsInfo ..

type ReqTplList

type ReqTplList struct {
	db.CmcTpl
	KeywordsType string `query:"keywords_type"`
	Keywords     string `query:"keywords"`
	CurrentPage  int    `query:"currentPage"`
	PageSize     int    `query:"pageSize"`
}

ReqTplList ..

type RespStatics

type RespStatics struct {
	EnvCnt []ConfigStaticsInfo `json:"env_cnt"`
	CmcCnt []ConfigStaticsInfo `json:"cmc_cnt"`
	Total  int                 `json:"total"`
}

RespStatics ..

Jump to

Keyboard shortcuts

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