Initial commit
This commit is contained in:
25
config/models.go
Normal file
25
config/models.go
Normal file
@@ -0,0 +1,25 @@
|
||||
package config
|
||||
|
||||
// Config stores application configuration
|
||||
type Config struct {
|
||||
Service Service
|
||||
Credentials Credentials
|
||||
GeneralOptions GeneralOptions
|
||||
}
|
||||
|
||||
// Service contains configuration for service
|
||||
type Service struct {
|
||||
Port string
|
||||
Address string
|
||||
Domain string
|
||||
}
|
||||
|
||||
// Credentials contains information about client credentials
|
||||
type Credentials struct {
|
||||
CredentialsFileLocation string
|
||||
}
|
||||
|
||||
// GeneralOptions contains information for general configuration options
|
||||
type GeneralOptions struct {
|
||||
DelayBetweenMassages int64
|
||||
}
|
||||
Reference in New Issue
Block a user