ocip

package module
v0.0.0-...-fb92825 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: GPL-2.0 Imports: 12 Imported by: 0

README

OCIP_go

OCI-P interface broadworks

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcatStr

func ConcatStr(sep string, args ...string) string

func LogErr

func LogErr(err error, args ...string)

func MakeDigest

func MakeDigest(PASS string, NONCE string) string

func OCIPsend

func OCIPsend(Config ConfigT, COMMAND string, args ...string) string

OCIPsend -- Send a single level command to Browworks

func SendXML

func SendXML(Config ConfigT, COMMAND string, xml string) string

Types

type ConfigT

type ConfigT struct {
	Main struct {
		User     string
		Password string
		Host     string
		OCIPPort string
	}
}

func ReadConfig

func ReadConfig(Configfile string) ConfigT

type OCIP

type OCIP struct {
	Nonce string `xml:"command>nonce"`
}

func ParseOCIP

func ParseOCIP(data []byte) OCIP

ParseOCIP -- return an umarshaled xml

Jump to

Keyboard shortcuts

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