handler

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const CREDENTIALS_COLLECTION = "credentials"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MongoUrl string `json:"mongourl"`
}

type Credentials

type Credentials struct {
	*Config
	*micro.Service
	// contains filtered or unexported fields
}

func New

func New(conf *Config, service *micro.Service) (*Credentials, error)

func (*Credentials) Create

func (*Credentials) InvalidCredential

func (a *Credentials) InvalidCredential() error

func (*Credentials) InvalidCredentialType

func (a *Credentials) InvalidCredentialType(credentialType credentials.CredentialType) error

func (*Credentials) Update

func (*Credentials) Validate

Jump to

Keyboard shortcuts

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