Documentation ¶
Index ¶
Constants ¶
View Source
const ( LOGGING_CRITICAL = logging.LEVEL_CRITICAL LOGGING_ERROR = logging.LEVEL_ERROR LOGGING_WARNING = logging.LEVEL_WARNING LOGGING_INFO = logging.LEVEL_INFO LOGGING_DEBUG = logging.LEVEL_DEBUG LOGGING_WARN = logging.LEVEL_WARN )
Logging level's
DEBUG < INFO < WARN[ING] < ERROR < CRITICAL
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigCore ¶
type ConfigCore struct { LoggingLevel int LoggingConfig *logging.Config APIClientReadTimeout time.Duration APIClientWriteTimeout time.Duration // CacheSystem string DisableCaching bool CacheSQLiteTimeout time.Duration CacheExpirationMachineInterval time.Duration CacheExtraTTLFilename string CacheSQLiteDSN string ServerReadTimeout time.Duration ServerWriteTimeout time.Duration ReduceServerMemoryUsage bool ServerGetOnly bool ServerLogSpeed bool }
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func (*Core) Init ¶
func (core *Core) Init(c *ConfigCore) error
func (*Core) OpenConnections ¶
Click to show internal directories.
Click to hide internal directories.