Documentation
¶
Index ¶
Constants ¶
View Source
const (
PACKAGE string = "oneMember"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Created string `json:"created"` Claims []Claim `json:"claims"` Email string `json:"email"` HashedPassword string `json:"hashedPassword,omitempty" out:"false"` LinkedAccounts []LinkedAccount `json:"linkedAccount"` Salt string `json:"salt,omitempty" out:"false"` Tenant string `json:"tenant"` Username string `json:"username"` }
func (*Account) RemoveClaim ¶
type AccountService ¶
type AccountService interface { AuthAccount(username string, password string) (*Account, error) AddClaim(in *Account, claim Claim) error Create(username string, password string, email string) (*Account, error) GetByUsername(username string) (*Account, error) RemoveClaim(in *Account, claimType string, provider string) error SetLinkedAccount(in *Account, provider string, claims []Claim) error Update(in *Account) error }
func New ¶
func New(db DataConnector) AccountService
type DataConnector ¶
type LinkedAccount ¶
Directories
¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/mitchellh/mapstructure
The mapstructure package exposes functionality to convert an abitrary map[string]interface{} into a native Go structure.
|
The mapstructure package exposes functionality to convert an abitrary map[string]interface{} into a native Go structure. |
_workspace/src/github.com/onsi/ginkgo
Ginkgo is a BDD-style testing framework for Golang The godoc documentation describes Ginkgo's API.
|
Ginkgo is a BDD-style testing framework for Golang The godoc documentation describes Ginkgo's API. |
_workspace/src/github.com/onsi/ginkgo/config
Ginkgo accepts a number of configuration options.
|
Ginkgo accepts a number of configuration options. |
_workspace/src/github.com/onsi/ginkgo/ginkgo
The Ginkgo CLI The Ginkgo CLI is fully documented [here](http://onsi.github.io/ginkgo/#the_ginkgo_cli) To install: go install github.com/onsi/ginkgo/ginkgo To run tests: ginkgo To run tests in all subdirectories: ginkgo -r To run tests in particular packages: ginkgo <flags> /path/to/package /path/to/another/package To run tests in parallel ginkgo -nodes=N where N is the number of nodes.
|
The Ginkgo CLI The Ginkgo CLI is fully documented [here](http://onsi.github.io/ginkgo/#the_ginkgo_cli) To install: go install github.com/onsi/ginkgo/ginkgo To run tests: ginkgo To run tests in all subdirectories: ginkgo -r To run tests in particular packages: ginkgo <flags> /path/to/package /path/to/another/package To run tests in parallel ginkgo -nodes=N where N is the number of nodes. |
_workspace/src/github.com/onsi/ginkgo/ginkgo/aggregator
Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output as one coherent stream.
|
Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output as one coherent stream. |
_workspace/src/github.com/onsi/ginkgo/ginkgo/support/fsnotify
Package fsnotify implements filesystem notification.
|
Package fsnotify implements filesystem notification. |
_workspace/src/github.com/onsi/ginkgo/reporters
Ginkgo's Default Reporter A number of command line flags are available to tweak Ginkgo's default output.
|
Ginkgo's Default Reporter A number of command line flags are available to tweak Ginkgo's default output. |
_workspace/src/github.com/onsi/ginkgo/thirdparty/gomocktestreporter
The gomocktestreporter package provides a Ginkgo friendly implementation of [Gomock's](https://code.google.com/p/gomock/) `TestReporter` interface.
|
The gomocktestreporter package provides a Ginkgo friendly implementation of [Gomock's](https://code.google.com/p/gomock/) `TestReporter` interface. |
_workspace/src/github.com/onsi/gomega
Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.
|
Gomega is the Ginkgo BDD-style testing framework's preferred matcher library. |
_workspace/src/github.com/onsi/gomega/matchers
Gomega matchers This package implements the Gomega matchers and does not typically need to be imported.
|
Gomega matchers This package implements the Gomega matchers and does not typically need to be imported. |
Click to show internal directories.
Click to hide internal directories.