testclientdata

package
v0.0.0-...-4f83aec Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
}

func (*Factory) Create

func (f *Factory) Create(name string) clientdata.ClientData

type TestData

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

func NewTestData

func NewTestData(name string) *TestData

func (*TestData) Authenticate

func (td *TestData) Authenticate(pword string) (bool, error)

func (*TestData) Block

func (td *TestData) Block(name string) error

func (*TestData) ClientExists

func (td *TestData) ClientExists(name string) (bool, error)

func (*TestData) IsBlocked

func (td *TestData) IsBlocked(name string) (bool, error)

func (*TestData) NewClient

func (td *TestData) NewClient(pword string) error

func (*TestData) SetName

func (td *TestData) SetName(name string)

func (*TestData) Unblock

func (td *TestData) Unblock(name string) error

Jump to

Keyboard shortcuts

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