Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Postgres PostgresConfig HTTP HTTPConfig Redis RedisConfig State StateConfig ApiKey string }
configuration struct
type HTTPConfig ¶
type HTTPConfig struct { Host string Port string ReadTimeout time.Duration WriteTimeout time.Duration MaxHeaderBytes int }
http server vars
type PostgresConfig ¶
type PostgresConfig struct { Host string Port string Username string DBName string SSLMode string Password string }
postgres vars
type StateConfig ¶
type StateConfig struct {
DataBase string
}
Click to show internal directories.
Click to hide internal directories.