Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultWaitTimeout = 60
View Source
const ModelKey = "model"
View Source
const ReqIDKey = "QID"
View Source
const SessionIDKey = "SID"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { InstanceID uint8 Cors CorsConfig TaosConfigDir string MaxSyncMethodLimit int MaxAsyncMethodLimit int Debug bool Port int LogLevel string RestfulRowLimit int HttpCodeServerError bool SMLAutoCreateDB bool Log Log Pool Pool Monitor Monitor UploadKeeper UploadKeeper }
var (
Conf *Config
)
type CorsConfig ¶
type CorsConfig struct { AllowAllOrigins bool AllowOrigins []string AllowHeaders []string ExposeHeaders []string AllowCredentials bool AllowWebSockets bool }
func (*CorsConfig) GetConfig ¶
func (conf *CorsConfig) GetConfig() cors.Config
Click to show internal directories.
Click to hide internal directories.