auth

package
v1.5.18 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() (*jira.Client, error)

Types

type Auth

type Auth struct {
	BaseURL  string `json:"base_url"`
	Username string `json:"username"`
	Password string `json:"password"`
}

func Authenticate

func Authenticate(baseURL, username, password string) (*Auth, error)

func Read

func Read() (*Auth, error)

func (*Auth) Health

func (a *Auth) Health() error

func (*Auth) Store

func (a *Auth) Store() error

Jump to

Keyboard shortcuts

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