user

package
v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAppResult

type CreateAppResult struct {
	Result  bool        `json:"result"`
	Code    int         `json:"bk_error_code"`
	Message interface{} `json:"bk_error_msg"`
}

type OwnerManager

type OwnerManager struct {
	OwnerID  string
	UserName string
	// contains filtered or unexported fields
}

func NewOwnerManager

func NewOwnerManager(userName, ownerID, language string) *OwnerManager

func (*OwnerManager) InitOwner

func (m *OwnerManager) InitOwner() error

type User

type User interface {
	LoginUser(c *gin.Context) (isLogin bool)
	GetUserList(c *gin.Context) (int, interface{})
	GetLoginUrl(c *gin.Context) string
}

func NewUser

func NewUser() User

NewUser return user instance by type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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