17 lines
423 B
Go
17 lines
423 B
Go
package api
|
|
|
|
import (
|
|
mwa "git.sendico.io/tech/sxchnge/product/auth/config"
|
|
verificationconfig "git.sendico.io/tech/sxchnge/product/verification/config"
|
|
)
|
|
|
|
type Config struct {
|
|
Mw *mwa.Config `yaml:"middleware"`
|
|
AuthStorage *mwa.AuthStorageConfig `yaml:"auth_storage"`
|
|
Verification *verificationconfig.Config `yaml:"verification"`
|
|
}
|
|
|
|
func (c *Config) SharedConfig() *Config {
|
|
return c
|
|
}
|