script

package
v0.0.0-...-14183b6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 6 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 interface {
	Call(script string) (Result, error)
}

Client interface for remote script client

func NewClient

func NewClient(url string) Client

NewClient creates new client

type Result

type Result map[string]string

Result of a script execution

func (*Result) GetMap

func (s *Result) GetMap(key string) map[string]string

GetMap from result

func (*Result) UnmarshalXML

func (s *Result) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

UnmarshalXML to result nap

Jump to

Keyboard shortcuts

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