Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpString ¶
Types ¶
type Env ¶
Env represents the environment that is needed to respond to http queries
func (*Env) ConnectDb ¶
func (env *Env) ConnectDb(sqlOpt SQLOptions, redisOpt RedisOptions)
ConnectDb connects the env to the sql database with the sqlOpt and the redis database with redisOpt
type RedisOptions ¶
RedisOptions lets you define the parameters to connect to a redis database
type SQLOptions ¶
SQLOptions lets you define the parameters to connect to a sql database
func (SQLOptions) String ¶
func (s SQLOptions) String() string
String returns a string representation of a sql options
type Selector ¶
type Selector struct {
// contains filtered or unexported fields
}
Selectable allows a struct to be selectable in a database
type Tournament ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.