api

package
v0.0.0-...-f52f705 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserInfo

func UserInfo(request UserRequest) string

Types

type UserGroup

type UserGroup struct {
	router.RestFulGrouper
}

func (*UserGroup) Delete

func (c *UserGroup) Delete(request *UserRequest) string

func (*UserGroup) Get

func (c *UserGroup) Get(request *UserRequest) string

func (*UserGroup) Name

func (c *UserGroup) Name(request *UserRequest) string

func (*UserGroup) Post

func (c *UserGroup) Post(request *UserRequest) string

func (*UserGroup) Put

func (c *UserGroup) Put(request *UserRequest) string

type UserRequest

type UserRequest struct {
	router.BaseRequest
	Username string `json:"username"`
	Age      int64  `json:"age"`
	Address  string `json:"address"`
}

Jump to

Keyboard shortcuts

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