Documentation
¶
Index ¶
- type Address
- type AtConnection
- type AtRootConnection
- type AtSecondaryConnection
- type Response
- func (r *Response) GetErrorCode() string
- func (r *Response) GetErrorText() string
- func (r *Response) GetException() error
- func (r *Response) GetRawDataResponse() string
- func (r *Response) GetRawErrorResponse() string
- func (r *Response) IsError() bool
- func (r *Response) SetRawDataResponse(s string) *Response
- func (r *Response) SetRawErrorResponse(s string) *Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
func AddressFromString ¶
func NewAddress ¶
type AtConnection ¶
type AtConnection struct {
// contains filtered or unexported fields
}
func NewAtConnection ¶
func (*AtConnection) Connect ¶
func (atconn *AtConnection) Connect() error
func (*AtConnection) Disconnect ¶
func (atconn *AtConnection) Disconnect()
func (*AtConnection) ExecuteCommand ¶
func (atconn *AtConnection) ExecuteCommand(command string, readTheResponse bool) (*Response, error)
func (*AtConnection) IsConnected ¶
func (atconn *AtConnection) IsConnected() bool
func (*AtConnection) String ¶
func (atconn *AtConnection) String() string
type AtRootConnection ¶
type AtRootConnection struct {
AtConnection *AtConnection
}
func GetAtRootConnectionInstance ¶
func GetAtRootConnectionInstance() *AtRootConnection
func (*AtRootConnection) FindSecondary ¶
func (arc *AtRootConnection) FindSecondary(atSign common.AtSign) (*Address, *exceptions.AtException)
func (*AtRootConnection) ParseRawResponse ¶
func (arc *AtRootConnection) ParseRawResponse(rawResponse string) *Response
type AtSecondaryConnection ¶
type AtSecondaryConnection struct {
AtConnection *AtConnection
}
func NewAtSecondaryConnection ¶
func NewAtSecondaryConnection(address Address, verbose bool) *AtSecondaryConnection
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func NewResponse ¶
func NewResponse() *Response
func ParseRawResponse ¶
func (*Response) GetErrorCode ¶
func (*Response) GetErrorText ¶
func (*Response) GetException ¶
func (*Response) GetRawDataResponse ¶
func (*Response) GetRawErrorResponse ¶
func (*Response) SetRawDataResponse ¶
func (*Response) SetRawErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.