Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AutoMaxProcsConfig ¶
type Config ¶
type Config struct {
Http *HttpConfig `json:"http" yaml:"http,omitempty"`
Log *LogConfig `json:"log" yaml:"log,omitempty"`
Runtime *RuntimeConfig `json:"runtime" yaml:"runtime,omitempty"`
}
type ConfigFile ¶
type ConfigFile struct {
// contains filtered or unexported fields
}
func NewConfigFile ¶
func NewConfigFile(kind string, dir string) (cf *ConfigFile, err error)
func NewConfigFiles ¶
func NewConfigFiles(dir string) (v []*ConfigFile, err error)
func (*ConfigFile) Name ¶
func (cf *ConfigFile) Name() (name string)
type HooksFile ¶
type HooksFile struct {
// contains filtered or unexported fields
}
func NewHooksFile ¶
type HttpConfig ¶
type HttpConfig struct {
Port int `json:"port" yaml:"port,omitempty"`
}
type ModulesFile ¶
type ModulesFile struct {
// contains filtered or unexported fields
}
func NewModulesFile ¶
func NewModulesFile(path string, dir string) (mf *ModulesFile, err error)
func (*ModulesFile) Name ¶
func (mf *ModulesFile) Name() (name string)
type RepositoryFile ¶
type RepositoryFile struct {
// contains filtered or unexported fields
}
func NewRepositoryFile ¶
func NewRepositoryFile(dir string) (hooks *RepositoryFile, err error)
func (*RepositoryFile) Name ¶
func (f *RepositoryFile) Name() (name string)
type RuntimeConfig ¶
type RuntimeConfig struct {
MaxWorkers int `json:"maxWorkers" yaml:"maxWorkers,omitempty"`
WorkerMaxIdleSeconds int `json:"workerMaxIdleSeconds" yaml:"workerMaxIdleSeconds,omitempty"`
HandleTimeoutSeconds int `json:"handleTimeoutSeconds" yaml:"handleTimeoutSeconds,omitempty"`
AutoMaxProcs AutoMaxProcsConfig `json:"autoMaxProcs" yaml:"autoMaxProcs,omitempty"`
SecretKey string `json:"secretKey" yaml:"secretKey,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.