authenticate

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthWorker

type AuthWorker struct {
	sync.Mutex
	// contains filtered or unexported fields
}

AuthWorker logon worker

func NewAuthWorker

func NewAuthWorker(workers *worker.Workers, id int, label string) *AuthWorker

NewAuthWorker create a new Logworker

func (*AuthWorker) Command

func (w *AuthWorker) Command(c int)

Command sent to this worker

func (*AuthWorker) Run

func (w *AuthWorker) Run(wg *sync.WaitGroup, term *chan int)

Run is main function of this worker

func (*AuthWorker) Terminate

func (w *AuthWorker) Terminate()

Terminate the worker

Jump to

Keyboard shortcuts

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