Documentation ¶
Overview ¶
Package authenticator provides server and site authentication services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct { Users map[string]User `json:"users,omitempty"` // contains filtered or unexported fields }
Authenticator represents a quiki server or site authentication service.
func Open ¶
func Open(path string) (*Authenticator, error)
Open reads a user data file and returns an Authenticator for it. If the path does not exist, a new data file is created.
Click to show internal directories.
Click to hide internal directories.