initialize

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
}

func (*Controller) Get

func (instance *Controller) Get(ctx iris.Context) mvc.Response

获取系统信息

func (*Controller) GetDatabase

func (instance *Controller) GetDatabase(ctx iris.Context) mvc.Response

验证数据库是否存在

func (*Controller) GetSecret

func (instance *Controller) GetSecret(ctx iris.Context) mvc.Response

生成 JWT Secret

func (*Controller) Post

func (instance *Controller) Post(ctx iris.Context) mvc.Response

创建服务配置

type PostRequest

type PostRequest struct {
	Etcd     config.Etcd     `json:"etcd"`
	Database config.Database `json:"database"`
	User     config.User     `json:"user"`
	Auth     config.Auth     `json:"auth"`
}

Jump to

Keyboard shortcuts

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