Documentation
¶
Index ¶
Constants ¶
View Source
const (
ProjectName = "whisper"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Http HTTP VCSHosting VCSHosting Messenger Messenger Storage Storage Handlers []Handler }
func LoadDefaultConfigByViper ¶
func LoadDefaultConfigByViper(cfgPath string) (Configuration, error)
func Register ¶
func Register() *Configuration
type HTTP ¶
func (*HTTP) GetTimeout ¶
type Messenger ¶
type Messenger struct { Provider dto.MessengerType Options map[string]interface{} }
type Storage ¶
type Storage struct { Provider dto.StorageType Options map[string]interface{} }
type VCSHosting ¶
type VCSHosting struct { Provider dto.VCSHostingType Options map[string]interface{} }
Click to show internal directories.
Click to hide internal directories.