client

package
v0.0.0-...-1b4485a Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is

func New

func New(host *string, port *int, password *string, debug *bool) *Client

New is

func (Client) Entities

func (client Client) Entities() ([]Entity, error)

Entities is

func (Client) EntitiesJson

func (client Client) EntitiesJson() ([]byte, error)

EntitiesJson is

func (Client) LogFilter

func (client Client) LogFilter(filters []string, disable bool) error

LogFilter is

func (Client) LogLevel

func (client Client) LogLevel(level string) error

LogLevel is

func (Client) LogStatus

func (client Client) LogStatus() (*LogStatus, error)

LogStatus is

func (Client) LogStatusJson

func (client Client) LogStatusJson() ([]byte, error)

LogStatus is

func (Client) Login

func (client Client) Login() error

Login is

func (Client) PurgeTileCache

func (client Client) PurgeTileCache(id string, collection string, tileMatrixSet string, bbox []string) error

PurgeTileCache is

func (Client) Reload

func (client Client) Reload(ids []string, types []string) error

Reload is

func (Client) ReloadValue

func (client Client) ReloadValue(paths []string) error

ReloadValue is

func (Client) Request

func (client Client) Request(path string, method string, ignoreBody bool, reqBody io.Reader, token string) (body []byte, err error)

func (Client) Values

func (client Client) Values() ([]Value, []string, error)

Values is

func (Client) ValuesJson

func (client Client) ValuesJson() ([]byte, error)

ValuesJson is

type Entity

type Entity struct {
	Id, Typ, Status string
}

Entity is

type LogStatus

type LogStatus struct {
	Level  string
	Filter map[string]bool
}

LogStatus is

type Value

type Value struct {
	Path, Typ string
}

Value is

Jump to

Keyboard shortcuts

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