cli

package
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package cli provides a CLI application that can be used to interact with a remote MyDynDNS web service.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
)

Functions

func Execute

func Execute() error

Execute runs the mydyndns CLI application

func ExecuteContext

func ExecuteContext(ctx context.Context) error

ExecuteContext runs the mydyndns CLI application with a Context

Types

type APIClient

type APIClient interface {
	MyIP() (net.IP, error)
	MyIPWithContext(context.Context) (net.IP, error)
	UpdateAlias() (net.IP, error)
	UpdateAliasWithContext(context.Context) (net.IP, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL