Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseConfig ¶
type DatabaseConfig struct { DatabaseName string `json:"dbName"` User string `json:"user"` Password string `json:"password"` IpAddress string `json:"ip"` Port string `json:"port"` Charset string `json:"charset"` ParseTime string `json:"parseTime"` Loc string `json:"loc"` }
func CreateDbConfig ¶
func CreateDbConfig(content []byte) *DatabaseConfig
func (*DatabaseConfig) GetDsn ¶
func (dbConfig *DatabaseConfig) GetDsn() string
type MovieApiConfig ¶
type MovieApiConfig struct { Url string `json:"url"` ApiKey string `json:"apiKey"` Auth string `json:"auth"` }
func CreateMovieApiConfig ¶
func CreateMovieApiConfig(content []byte) MovieApiConfig
Click to show internal directories.
Click to hide internal directories.