package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Sep 19, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Api struct {
Name string `default:"go8_api"`
Host string `default:"0.0.0.0"`
Port string `default:"3080"`
GracefulTimeout time.Duration `split_words:"true" default:"8s"`
}
type Cors struct {
AllowedOrigins []string `split_words:"true"`
AllowCredentials bool `split_words:"true" default:"true"`
AllowPrivateNetwork bool `split_words:"true" default:"false"`
}
type Rates struct {
JobID string `split_words:"true" default:"fetch.exchange-rates"`
Enabled bool `split_words:"true" default:"true"`
Start string `split_words:"true"`
Delay time.Duration `split_words:"true" default:"24h"`
Endpoint string
Key string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.