account

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name, token, publisher, baseURL string) error

Add a new Account.

func All

func All() []*model.Account

All returns all available Accounts.

Types

type UserAlreadyExistsError

type UserAlreadyExistsError struct {
	Account model.Account
}

UserAlreadyExistsError occues when user already exists but we want to add it as a new one.

func (UserAlreadyExistsError) Error

func (e UserAlreadyExistsError) Error() string

Jump to

Keyboard shortcuts

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