response

package
v0.0.0-...-51d629d Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2016 License: BSD-3-Clause, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ack

type Ack struct {
	stamp.Timestamp
	Request string
}

func NewAck

func NewAck(op string) *Ack

type Register

type Register struct {
	stamp.Timestamp
	Login   string
	Token   string
	Expires time.Time
}

func NewRegister

func NewRegister() *Register

type UserReturn

type UserReturn struct {
	stamp.Timestamp

	Guid  string // Permanent User ID for external linking (Within systems)
	Token string // Send THIS to login with

	FullName  string // FULL user name ("Jane Doe")
	LoginName string // The ID they use to login with
	Email     string // Email address

	LoginAt      time.Time // THIS login time
	LastAuthAt   time.Time // Last login time
	TimeoutAt    time.Time // Required to authenticate by
	MaxSessionAt time.Time // This is when the user will be forced off

	CreatedAt time.Time // When the user was created
}

User will contain the USER's minimum data from any operation operation.

func NewUserReturn

func NewUserReturn() *UserReturn

func (*UserReturn) Check

func (u *UserReturn) Check() error

Jump to

Keyboard shortcuts

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