Documentation ¶
Index ¶
Constants ¶
View Source
const (
OfficialAddress string = "ddnsclient.onamae.com:65010"
)
Variables ¶
View Source
var (
ErrNotConnect error = fmt.Errorf("tls not connected")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a DDNS session on TLS connection.
func DialWithContext ¶
func DialWithContext(ctx context.Context, address string, user string, pass string, timeout time.Duration) (*Client, error)
DialWithContext connects to the given address(<host>:<port>) use 'user' and 'pass'.
func (*Client) Expect ¶
Expect extension function. Wait on the session if want use arbitrary command.
Click to show internal directories.
Click to hide internal directories.