ops

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	ID          uint
	Source      string
	Destination string
	Domain      Domain
	UpdatedAt   time.Time
	CreatedAt   time.Time
	// contains filtered or unexported fields
}

Alias alias

type Domain

type Domain struct {
	ID        uint
	Name      string
	UpdatedAt time.Time
	CreatedAt time.Time
	// contains filtered or unexported fields
}

Domain domain

type User

type User struct {
	ID        uint
	FullName  string
	Email     string
	Password  string
	Enable    bool
	Domain    Domain
	Begin     time.Time
	End       time.Time
	UpdatedAt time.Time
	CreatedAt time.Time
	// contains filtered or unexported fields
}

User user

func (*User) ChkPassword

func (p *User) ChkPassword(password string) bool

ChkPassword check password

func (*User) SetPassword

func (p *User) SetPassword(password string) error

SetPassword set password (SSHA512-CRYPT)

Jump to

Keyboard shortcuts

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