super

package
v0.0.0-...-58bd1cf Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugIndex

func DebugIndex(c *xin.Context)

func DebugJSON

func DebugJSON(c *xin.Context)

func DebugPprof

func DebugPprof(c *xin.Context)

func JobStats

func JobStats(c *xin.Context)

func ShellExec

func ShellExec(c *xin.Context)

func ShellIndex

func ShellIndex(c *xin.Context)

func SqlExec

func SqlExec(c *xin.Context)

func SqlIndex

func SqlIndex(c *xin.Context)

func TenantCreate

func TenantCreate(c *xin.Context)

func TenantDelete

func TenantDelete(c *xin.Context)

func TenantIndex

func TenantIndex(c *xin.Context)

func TenantList

func TenantList(c *xin.Context)

func TenantUpdate

func TenantUpdate(c *xin.Context)

Types

type ShellArg

type ShellArg struct {
	Command string        `form:"command,strip"`
	Timeout time.Duration `form:"timeout"`
}

type ShellResult

type ShellResult struct {
	Code   int    `json:"code,omitempty"`
	Time   string `json:"time,omitempty"`
	Output string `json:"output,omitempty"`
}

type SqlArg

type SqlArg struct {
	Sql   string `form:"sql,strip"`
	Limit int    `form:"limit"`
}

type SqlResult

type SqlResult struct {
	Sql      string     `json:"sql,omitempty"`
	Error    string     `json:"error,omitempty"`
	Elapsed  string     `json:"elapsed,omitempty"`
	Effected int64      `json:"effected,omitempty"`
	Columns  []string   `json:"columns,omitempty"`
	Datas    [][]string `json:"datas,omitempty"`
}

type TenantEdit

type TenantEdit struct {
	TenantInfo
	Oname string `json:"oname" form:"oname,strip,lower" validate:"required,regexp=^[a-z][a-z0-9]{00x2C29}$"`
}

type TenantInfo

type TenantInfo struct {
	xsm.SchemaInfo
	Current bool `json:"current,omitempty"`
	Default bool `json:"default,omitempty"`
}

type TenantQueryArg

type TenantQueryArg struct {
	xsm.SchemaQuery
}

Jump to

Keyboard shortcuts

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