Documentation ¶
Index ¶
- type HideGuardConfiguration
- func (c *HideGuardConfiguration) AdjustHost()
- func (c *HideGuardConfiguration) Check() (err error)
- func (c *HideGuardConfiguration) InteractiveCredentials() (err error)
- func (c *HideGuardConfiguration) Print()
- func (c *HideGuardConfiguration) Read(fileName string) (err error)
- func (c *HideGuardConfiguration) Store(fileName string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HideGuardConfiguration ¶
type HideGuardConfiguration struct { Client rest.Config `yaml:"client,omitempty"` Link wireguard.Config `yaml:"link,omitempty"` }
func NewHideGuardConfiguration ¶
func NewHideGuardConfiguration() *HideGuardConfiguration
func (*HideGuardConfiguration) AdjustHost ¶
func (c *HideGuardConfiguration) AdjustHost()
Add .hideservers.net suffix for short names ( nl becomes nl.hideservers.net ) or remove .hide.me and replace it with .hideservers.net.
func (*HideGuardConfiguration) Check ¶
func (c *HideGuardConfiguration) Check() (err error)
func (*HideGuardConfiguration) InteractiveCredentials ¶
func (c *HideGuardConfiguration) InteractiveCredentials() (err error)
Ask for username/password if none were configured
func (*HideGuardConfiguration) Print ¶
func (c *HideGuardConfiguration) Print()
func (*HideGuardConfiguration) Read ¶
func (c *HideGuardConfiguration) Read(fileName string) (err error)
func (*HideGuardConfiguration) Store ¶
func (c *HideGuardConfiguration) Store(fileName string) (err error)
Click to show internal directories.
Click to hide internal directories.