account

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: 5 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 {
	Service services.UserService
}

func (*Controller) Get

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

Get 获取用户信息

func (*Controller) Post

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

Post 修改用户信息

type Profile

type Profile struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Email   string `json:"email"`
	TeamId  string `json:"team_id"`
	Manager bool   `json:"manager"`
}

Jump to

Keyboard shortcuts

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