package scpd
Import Path
github.com/huin/goupnp/scpd (on go.dev)
Dependency Relation
imports 3 packages, and imported by one package
Involved Source Files
scpd.go
Package-Level Type Names (total 7)
Arguments []Argument
Name string
(*Action) InputArguments() []*Argument
(*Action) OutputArguments() []*Argument
func (*SCPD).GetAction(action string) *Action
func (*SCPD).OrderedActions() []Action
// in|out
Name string
// ?
// ?
(*Argument) IsInput() bool
(*Argument) IsOutput() bool
func (*Action).InputArguments() []*Argument
func (*Action).OutputArguments() []*Argument
SCPD is the service description as described by section 2.5 "Service
description" in
http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf
Actions []Action
ConfigId string
SpecVersion SpecVersion
StateVariables []StateVariable
XMLName xml.Name
Clean attempts to remove stray whitespace etc. in the structure. It seems
unfortunately common for stray whitespace to be present in SCPD documents,
this method attempts to make it easy to clean them out.
(*SCPD) GetAction(action string) *Action
(*SCPD) GetStateVariable(variable string) *StateVariable
(*SCPD) OrderedActions() []Action
func github.com/huin/goupnp.(*Service).RequestSCDP() (*SCPD, error)
func github.com/huin/goupnp.(*Service).RequestSCPD() (*SCPD, error)
func github.com/huin/goupnp.(*Service).RequestSCPDCtx(ctx context.Context) (*SCPD, error)
SpecVersion is part of a SCPD document, describes the version of the
specification that the data adheres to.
Major int32
Minor int32
AllowedValueRange *AllowedValueRange
AllowedValues []string
DataType DataType
DefaultValue string
// yes|no
Name string
// yes|no
func (*SCPD).GetStateVariable(variable string) *StateVariable
Package-Level Constants (only one)
const SCPDXMLNamespace = "urn:schemas-upnp-org:service-1-0"![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |