state

package
v0.0.0-...-a7e6680 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channels

type Channels struct {
	ConfirmUsers chan datalayer.User
}

type MockCallbacks

type MockCallbacks struct {
	MockMail   mockmail.CallbackFunc
	MockMailWG *sync.WaitGroup
}

func NewMockCallbacks

func NewMockCallbacks(callback mockmail.CallbackFunc) *MockCallbacks

type Providers

type Providers struct {
	Email mail.Client
}

type ServerState

type ServerState struct {
	URL        string
	Channels   Channels
	Context    context.Context
	DataLayer  datalayer.DataLayer
	Logger     *log.Logger
	ShutdownWG *sync.WaitGroup
	Router     *mux.Router
	Providers  Providers
	Cancel     context.CancelFunc
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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