Documentation ¶
Index ¶
- type ClientConfig
- func (c *ClientConfig) Collator() *collate.Collator
- func (c *ClientConfig) GetCert() []byte
- func (c *ClientConfig) GetCompleteConfigFilename() string
- func (c *ClientConfig) GetPassword() string
- func (c *ClientConfig) GetServerHostname() string
- func (c *ClientConfig) GetServerPort() int64
- func (c *ClientConfig) GetServerSelfSigned() bool
- func (c *ClientConfig) GetServerSsl() bool
- func (c *ClientConfig) GetTimeout() int64
- func (c *ClientConfig) GetUsername() string
- func (c *ClientConfig) Save()
- func (c *ClientConfig) SetCert(cert []byte) error
- type ClientEditableConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { ConfigDir string DebugMode bool *ClientEditableConfig // contains filtered or unexported fields }
func (*ClientConfig) Collator ¶
func (c *ClientConfig) Collator() *collate.Collator
func (*ClientConfig) GetCert ¶ added in v0.4.0
func (c *ClientConfig) GetCert() []byte
func (*ClientConfig) GetCompleteConfigFilename ¶
func (c *ClientConfig) GetCompleteConfigFilename() string
func (*ClientConfig) GetPassword ¶
func (c *ClientConfig) GetPassword() string
func (*ClientConfig) GetServerHostname ¶
func (c *ClientConfig) GetServerHostname() string
func (*ClientConfig) GetServerPort ¶
func (c *ClientConfig) GetServerPort() int64
func (*ClientConfig) GetServerSelfSigned ¶
func (c *ClientConfig) GetServerSelfSigned() bool
func (*ClientConfig) GetServerSsl ¶
func (c *ClientConfig) GetServerSsl() bool
func (*ClientConfig) GetTimeout ¶
func (c *ClientConfig) GetTimeout() int64
func (*ClientConfig) GetUsername ¶
func (c *ClientConfig) GetUsername() string
func (*ClientConfig) Save ¶
func (c *ClientConfig) Save()
func (*ClientConfig) SetCert ¶ added in v0.4.0
func (c *ClientConfig) SetCert(cert []byte) error
type ClientEditableConfig ¶
type ClientEditableConfig struct { ServerHostname string `json:"serverHostname"` ServerPort int64 `json:"serverPort"` ServerSsl bool `json:"serverSsl"` ServerSelfSigned bool `json:"serverSelfSigned"` SortLanguage string `json:"sortLanguage"` BufferLength int64 `json:"bufferLength"` Username string `json:"username"` Password string `json:"password"` Timeout int64 `json:"timeout"` }
func NewClientEditableConfig ¶
func NewClientEditableConfig(draftClientEditableConfig *ClientEditableConfig) *ClientEditableConfig
Click to show internal directories.
Click to hide internal directories.