register

package
v0.0.0-...-ac08f58 Latest Latest
Warning

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

Go to latest
Published: May 31, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package register allows for user registration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Register

type Register struct {
	// contains filtered or unexported fields
}

Register module.

func (*Register) Initialize

func (r *Register) Initialize() (err error)

Initialize the module.

func (*Register) Routes

func (r *Register) Routes() authboss.RouteTable

Routes creates the routing table.

func (*Register) Storage

func (r *Register) Storage() authboss.StorageOptions

Storage returns storage requirements.

type RegisterStorer

type RegisterStorer interface {
	authboss.Storer
	// Create is the same as put, except it refers to a non-existent key.
	Create(key string, attr authboss.Attributes) error
}

RegisterStorer must be implemented in order to satisfy the register module's storage requirments.

Jump to

Keyboard shortcuts

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