module

package
v0.0.0-...-251cc68 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2017 License: MIT Imports: 3 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 {
	Login  string `json:"login"`
	Admin  string `json:"admin"`
	Active string `json:"active"`
}

user struct

type UserServiceProvider

type UserServiceProvider struct {
}
var (
	UserService *UserServiceProvider
)

func (*UserServiceProvider) Create

func (usp *UserServiceProvider) Create(user *User) (bool, error)

Create create single user.

func (*UserServiceProvider) Get

func (usp *UserServiceProvider) Get(login string) (User, error)

GetSingleInfo get single user information.

Jump to

Keyboard shortcuts

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