auth

package
v0.0.0-...-6be9b1d Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(c client.SessionClient, u ui.Interactor, name, pwd string) error

Login calls the API to log a user in and writes the token to the tokenfile

func Signup

func Signup(c client.UserClient, u ui.Interactor, name, pwd string) error

Signup calls the API to create a new user record

Types

This section is empty.

Jump to

Keyboard shortcuts

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