user

package
Version: v3.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 15 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, checkUrl string, isMultiOwner bool) bool
	GetUserList(c *gin.Context, accountURL string) (int, interface{})
}

func NewUser

func NewUser() User

NewUser return user instance by type

Jump to

Keyboard shortcuts

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