package
Version:
v0.0.0-...-b48969e
Opens a new window with list of versions in this module.
Published: Jan 8, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Env string `yaml:"env" env-default:"local"`
StoragePath string `yaml:"storage_path" env-required:"true"`
GRPC GRPCConfig `yaml:"grpc"`
MigrationsPath string
TokenTTL time.Duration `yaml:"token_ttl" env-default:"1h"`
}
type GRPCConfig struct {
Port int `yaml:"port"`
Timeout time.Duration `yaml:"timeout"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.