Documentation
¶
Index ¶
- type CloudPrinterConfig
- func (config *CloudPrinterConfig) CreateTLSConfig() (*tls.Config, error)
- func (config *CloudPrinterConfig) GetBrokerUrl() string
- func (config *CloudPrinterConfig) GetDeviceAccessCode() string
- func (config *CloudPrinterConfig) GetDeviceID() string
- func (config *CloudPrinterConfig) GetPassword() string
- func (config *CloudPrinterConfig) GetUsername() string
- type LocalPrinterConfig
- func (config *LocalPrinterConfig) CreateTLSConfig() (*tls.Config, error)
- func (config *LocalPrinterConfig) GetBrokerUrl() string
- func (config *LocalPrinterConfig) GetDeviceAccessCode() string
- func (config *LocalPrinterConfig) GetDeviceID() string
- func (config *LocalPrinterConfig) GetDeviceIPAddress() string
- func (config *LocalPrinterConfig) GetPassword() string
- func (config *LocalPrinterConfig) GetUsername() string
- type PrinterConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudPrinterConfig ¶
type CloudPrinterConfig struct {
// contains filtered or unexported fields
}
func NewCloudPrinterConfig ¶
func NewCloudPrinterConfig(device_id, user_id, access_token, ipAddress, accessCode string) *CloudPrinterConfig
func (*CloudPrinterConfig) CreateTLSConfig ¶
func (config *CloudPrinterConfig) CreateTLSConfig() (*tls.Config, error)
func (*CloudPrinterConfig) GetBrokerUrl ¶
func (config *CloudPrinterConfig) GetBrokerUrl() string
func (*CloudPrinterConfig) GetDeviceAccessCode ¶
func (config *CloudPrinterConfig) GetDeviceAccessCode() string
func (*CloudPrinterConfig) GetDeviceID ¶
func (config *CloudPrinterConfig) GetDeviceID() string
func (*CloudPrinterConfig) GetPassword ¶
func (config *CloudPrinterConfig) GetPassword() string
func (*CloudPrinterConfig) GetUsername ¶
func (config *CloudPrinterConfig) GetUsername() string
type LocalPrinterConfig ¶
type LocalPrinterConfig struct {
// contains filtered or unexported fields
}
func NewLocalPrinterConfig ¶
func NewLocalPrinterConfig(device_id, ip_address, access_code, ca_cert_path string) LocalPrinterConfig
func (*LocalPrinterConfig) CreateTLSConfig ¶
func (config *LocalPrinterConfig) CreateTLSConfig() (*tls.Config, error)
func (*LocalPrinterConfig) GetBrokerUrl ¶
func (config *LocalPrinterConfig) GetBrokerUrl() string
func (*LocalPrinterConfig) GetDeviceAccessCode ¶
func (config *LocalPrinterConfig) GetDeviceAccessCode() string
func (*LocalPrinterConfig) GetDeviceID ¶
func (config *LocalPrinterConfig) GetDeviceID() string
func (*LocalPrinterConfig) GetDeviceIPAddress ¶
func (config *LocalPrinterConfig) GetDeviceIPAddress() string
func (*LocalPrinterConfig) GetPassword ¶
func (config *LocalPrinterConfig) GetPassword() string
func (*LocalPrinterConfig) GetUsername ¶
func (config *LocalPrinterConfig) GetUsername() string
Click to show internal directories.
Click to hide internal directories.