Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { BasicAuthUsername string BasicAuthPassword string ConnectionString string DevMode bool LogLevel int Port string // contains filtered or unexported fields }
Server holds config information for running the API server.
func New ¶
func New( port string, devMode bool, username, password, redisHost, redisPassword string, logLevel int, connectionString string, ) *Server
New returns a new *Server configured with the parameters passed in.
Click to show internal directories.
Click to hide internal directories.