Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Admins []string Development bool Email Email Memcached Memcached Postgres Postgres RateLimiter RateLimiter Redis Redis Server Server Session Session Static Static Stripe Stripe }
Config constains all the server configurations.
type Memcached ¶
type Memcached struct {
Servers []string
}
Memcached is the LRU-cache configuration.
type Postgres ¶
type Postgres struct { Username string Password string Host string Port string Name string SSLMode string }
Postgres hols the database attributes.
type Server ¶
type Server struct { Host string Port string TLS struct { KeyFile string CertFile string } Timeout struct { Read time.Duration Write time.Duration Shutdown time.Duration } }
Server holds the server attributes.
Click to show internal directories.
Click to hide internal directories.