res

package
v0.0.1-preview Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeptTree

type DeptTree struct {
	model.Dept
	Children []*DeptTree `json:"children"`
}

type LoginRes

type LoginRes struct {
	model.User
	Password string `json:"password"`
}
type MenuTree struct {
	model.Menu
	Children []*MenuTree `json:"children"`
}

type PageableData

type PageableData[T any] struct {
	List  []T   `json:"list"`
	Total int64 `json:"total"`
}

type PageableUsers

type PageableUsers struct {
	List  []*model.User `json:"list"`
	Total int64         `json:"total"`
}

type SimpleApi

type SimpleApi struct {
	Method string `json:"method"`
	Path   string `json:"path"`
}

func CreateSimpleApi

func CreateSimpleApi(method, path string) *SimpleApi

Jump to

Keyboard shortcuts

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