account

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 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

获取用户信息

func (*Controller) Post

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

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