Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerConfig ¶
type ServerConfig struct { AccessTokenLifetime time.Duration CheckEvery time.Duration DenyRequests chan deny.Request DisableCancelAfterUse bool GraceRebound time.Duration Host string MinUserNameLength int Now func() time.Time Port int PruneEvery time.Duration RelaySecret []byte //TODO update to string to suit internal/login.Sign() RequestTimeout time.Duration StoreSecret []byte //TODO update to string to suit internal/login.Sign()? Store *store.Store }
Click to show internal directories.
Click to hide internal directories.