Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitHubOptions ¶
type GitHubOptions struct {
Token string `cfg:"token"`
AppPrivateKey string `cfg:"app_private_key" validate:"omitempty,required_without=Token"`
AppPrivateKeyPath string `cfg:"app_private_key_path" validate:"omitempty,file,required_without=Token"`
AppID int64 `cfg:"app_id" validate:"omitempty,required_with=AppPrivateKey"`
EnterpriseURL string `cfg:"enterprise_url" validate:"omitempty,url"`
EnterpriseUploadURL string `cfg:"enterprise_upload_url" validate:"omitempty,url,required_with=EnterpriseURL"`
Owner string `cfg:"-"`
Repo string `cfg:"-"`
}
Click to show internal directories.
Click to hide internal directories.