Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerConfig ¶
type ServerConfig struct {
// contains filtered or unexported fields
}
func New ¶
func New(db storage.Database, privateKey *rsa.PrivateKey, publicKey *rsa.PublicKey, domain string) *ServerConfig
func (*ServerConfig) Db ¶
func (c *ServerConfig) Db() storage.Database
func (*ServerConfig) Domain ¶
func (c *ServerConfig) Domain() string
func (*ServerConfig) IsDebug ¶
func (c *ServerConfig) IsDebug() bool
func (*ServerConfig) PrivateKey ¶
func (c *ServerConfig) PrivateKey() *rsa.PrivateKey
func (*ServerConfig) PublicKey ¶
func (c *ServerConfig) PublicKey() *rsa.PublicKey
func (*ServerConfig) SetDebug ¶
func (c *ServerConfig) SetDebug(debug bool)
Click to show internal directories.
Click to hide internal directories.