config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailedAuthentication = errors.New(("failed to authenticate"))
View Source
var ErrNotAuthorized = errors.New("Not Authorized.")

Functions

This section is empty.

Types

type JWT

type JWT struct {
	Token string `json:"token"`
}

type Service

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

func New

func New() (*Service, error)

func (*Service) HomeDir

func (cs *Service) HomeDir() string

func (*Service) Token

func (cs *Service) Token() string

Jump to

Keyboard shortcuts

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