xmlrpc

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConnectTimeout = 10
	RequestTimeout = 10
	Endpoint       = "http://localhost/rpc/api"
	AuthMethod     = "auth.login"
	SyncMethod     = "configchannel.syncSaltFilesOnDisk"
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(username string, password string) *client

Types

type Client

type Client interface {
	SyncConfigFiles(labels []string) (interface{}, error)
}

Jump to

Keyboard shortcuts

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