Documentation ¶
Overview ¶
Package html contain the http server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Name string ID int Pw []byte Disable bool // contains filtered or unexported fields }
Client the login object. Hold information of the user including loged-in information.
type Clients ¶
type Clients struct { List map[string]*Client NextID int // contains filtered or unexported fields }
Clients the clients list.
func NewClients ¶
type ErrDown ¶
type ErrDown struct {
// contains filtered or unexported fields
}
ErrDown err when server is down.
func NewErrDown ¶
type ErrExist ¶
type ErrExist struct {
// contains filtered or unexported fields
}
ErrExist when user name and password combination do no match or user do not exist.
func NewErrExist ¶
type ErrSize ¶
type ErrSize struct {
// contains filtered or unexported fields
}
ErrSize err when password or name do meet size limits.
func NewErrSize ¶
Click to show internal directories.
Click to hide internal directories.