Documentation ¶
Overview ¶
Package mock implements connectors which help test various server components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallbackConfig ¶
type CallbackConfig struct{}
CallbackConfig holds the configuration parameters for a connector which requires no interaction.
func (*CallbackConfig) Open ¶
func (c *CallbackConfig) Open() (connector.Connector, error)
Open returns an authentication strategy which requires no user interaction.
type PasswordConfig ¶
PasswordConfig holds the configuration for a mock connector which prompts for the supplied username and password.
func (*PasswordConfig) Open ¶
func (c *PasswordConfig) Open() (connector.Connector, error)
Open returns an authentication strategy which prompts for a predefined username and password.
Click to show internal directories.
Click to hide internal directories.