Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(callback OnCredentialsReceived) backend.Backend
New returns a new password-logging backend. Credentials will be sent to your callback as they're received.
Types ¶
type OnCredentialsReceived ¶
type OnCredentialsReceived func(username, password string)
OnCredentialsReceived will be called with username:password pairs as they roll in
Click to show internal directories.
Click to hide internal directories.