session

package
v0.0.0-...-fe78ce7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	APIKey           string
	Username         string
	Password         string
	AuthCode         string
	TwoFactorCode    string
	RememberPassword bool
}

type ErrInvalidServerAddress

type ErrInvalidServerAddress struct {
	Address string
}

func (*ErrInvalidServerAddress) Error

type Manager

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

func NewManager

func NewManager(options ManagerOptions) *Manager

func (*Manager) ChildSpec

func (*Manager) Start

func (p *Manager) Start(ctx context.Context) (err error)

type ManagerOptions

type ManagerOptions struct {
	Log             *nslog.Logger
	Bus             *nsbus.Bus
	Credentials     *Credentials
	ShutdownTimeout time.Duration
}

Jump to

Keyboard shortcuts

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