Documentation
¶
Index ¶
Constants ¶
View Source
const ( PostMethodSupported = "only post method is allowed" CredentialsError = "credentials error" TokenError = "token error" )
Variables ¶
This section is empty.
Functions ¶
func ConfigureClient ¶
func ConfigureClient(config *Config) (pb.ConfigureEndpointClient, error)
Types ¶
type Config ¶
type Config struct {
AppName string
DBHost string
DBPort string
DBUser string
DBPassword string
DBName string
JWTSecret string
JWTExpireIn time.Duration
DebugMode bool
LogFormat string
ConfHost string
ConfPort string
ConfUseTLS bool
ConfCACert string
ConfCert string
ConfKey string
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.