Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { Name string `toml:"name" comment:"Name of this CDS Database Migrate service\n Enter a name to enable this service" json:"name"` URL string `default:"http://localhost:8087" json:"url"` Directory string `toml:"directory" comment:"SQL Migration files directory" default:"sql" json:"directory"` HTTP service.HTTPRouterConfiguration `` /* 146-byte string literal not displayed */ API service.APIServiceConfiguration `toml:"api" comment:"####################\n CDS API Settings \n###################" json:"api"` ServiceAPI struct { Enable bool `toml:"enable" default:"true" comment:"set to false to disable migration for API database" json:"enable"` DB database.DBConfiguration `` /* 127-byte string literal not displayed */ } `` /* 192-byte string literal not displayed */ ServiceCDN struct { Enable bool `toml:"enable" default:"true" comment:"set to false to disable migration for CDN database" json:"enable"` DB database.DBConfiguration `` /* 127-byte string literal not displayed */ } `` /* 192-byte string literal not displayed */ }
Configuration is the exposed type for database API configuration
Click to show internal directories.
Click to hide internal directories.