Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { SynologyConf SynologyConf `yaml:"synologyConfiguration" validate:"required"` GooglePhotoConf GooglePhotoConf `yaml:"googlePhotoConfiguration" validate:"required"` LoginOnly bool }
type GooglePhotoConf ¶
type GooglePhotoConf struct { ClientID string `yaml:"clientID" validate:"required"` ClientSecret string `yaml:"clientSecret" validate:"required"` LocalRedirectURL string `yaml:"localRedirectURL" validate:"required"` }
func (GooglePhotoConf) LocalRedirectPath ¶
func (g GooglePhotoConf) LocalRedirectPath() (*string, error)
func (GooglePhotoConf) LocalRedirectPort ¶
func (g GooglePhotoConf) LocalRedirectPort() (int, error)
type SynologyConf ¶
type SynologyConf struct { Url string `yaml:"url" validate:"required"` Username string `yaml:"username" validate:"required"` Password string `yaml:"password" validate:"required"` InsecureHttpsConnection bool `yaml:"insecureHttpsConnection"` UploadedTagID int `yaml:"uploadedTagID" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.