Documentation ¶
Index ¶
Constants ¶
View Source
const (
Users = "users"
)
Variables ¶
This section is empty.
Functions ¶
func UsersToTable ¶
func UsersToTable(users []*api.UserAccount)
Types ¶
type Account ¶
type Account interface { // Register is used to create a new user on the platform. Register(email string, team string, password string) (*api.UserAccount, error) // Login is used to login to platform and get a token. Login(email string, password string) (string, error) // RemoveUser is used to delete a user from the platform. RemoveUser(user_id int) error // User is used to return the current user. User() (*api.UserAccount, error) }
Account is the interface used to maintain the state of a given team.
Click to show internal directories.
Click to hide internal directories.