Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { OS string `json:"os"` Arch string `json:"arch"` Name string `json:"name"` Timestamp int64 `json:"timestamp"` Version string `json:"version"` Changelog string `json:"changelog"` BaseURL string URL string ArchiveName string User []byte Pass []byte DisableVerifyCert bool Issue string }
type Connection ¶
type Connection struct { Name string HostName string User string PassOrToken string URLPrefix string Repository string Path string OnAvailable string OnAvailableTimeout int OnHostNamePrefix string OnHostNameSuffix string OnAvailableViaHTTP bool DisableValidateCert bool AQLSupport bool // contains filtered or unexported fields }
func NewUser ¶
func NewUser(user, passOrToken, urlPrefix, repository string) *Connection
func (*Connection) Available ¶
func (c *Connection) Available() bool
func (*Connection) HostPfx ¶
func (c *Connection) HostPfx() bool
func (*Connection) HostSuffix ¶
func (c *Connection) HostSuffix() bool
func (*Connection) SetAvailable ¶
func (c *Connection) SetAvailable(val bool)
func (*Connection) SetHostPfx ¶
func (c *Connection) SetHostPfx(val bool)
func (*Connection) SetHostSfx ¶
func (c *Connection) SetHostSfx(val bool)
Click to show internal directories.
Click to hide internal directories.