Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigRepo ¶
type ConfigRepo interface { Get(key string) (interface{}, error) GetString(key string) (string, error) GetInt(key string) (int, error) GetArrayString(key string) ([]string, error) GetConfigType(key string) (int, error) GetJsonConfigByIDAndSetToObject(id int, value any) (err error) SetConfig(key, value string) (err error) }
ConfigRepo config repository
type ConfigService ¶
type ConfigService struct {
// contains filtered or unexported fields
}
ConfigService user service
func NewConfigService ¶
func NewConfigService(configRepo ConfigRepo) *ConfigService
Click to show internal directories.
Click to hide internal directories.