login

package
v0.0.0-...-e5a9a76 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Login      user.Login
	UserSource user.Source
}

func (Command) Execute

func (c Command) Execute(req Request) (res Response, err error)

type IncorrectNamespaceError

type IncorrectNamespaceError struct {
	OriginalError error
}

func (IncorrectNamespaceError) Error

func (e IncorrectNamespaceError) Error() string

type IncorrectPasskeyError

type IncorrectPasskeyError struct {
	OriginalError error
	Passkey       string
}

func (IncorrectPasskeyError) Error

func (e IncorrectPasskeyError) Error() string

type Request

type Request struct {
	Id        string
	Passkey   string
	Namespace string
}

type Response

type Response struct {
	SessionToken string
}

type UserDoesNotExist

type UserDoesNotExist struct {
	OriginalError error
	Id            string
}

func (UserDoesNotExist) Error

func (e UserDoesNotExist) Error() string

Jump to

Keyboard shortcuts

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