api

package
v0.0.0-...-325f48e Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID      int    `json:"id"`
	Account string `json:"account"`
	Name    string `json:"name"`
	Pass    string `json:"pass"`
}

type UserController

type UserController struct {
}

func (*UserController) Detail

func (u *UserController) Detail(ctx iris.Context)

Detail get user detail by user id @Description get user detail information @Summary user information @Param user_id query string true "user id" @Success 200 {object} api.User `{"id":1, "account":"kevin", "name":"ding", "pass":"123123"}` @Router /detail [get]

Jump to

Keyboard shortcuts

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