Skip to content

Reference

Page What it holds
The wire format Every header, required or optional, and the one that is not prefixed
URN grammar urn:phpboyscout:schema:… and urn:phpboyscout:scope:…
Errors Every sentinel, when it is returned, and what to do about it

The Go API itself is on pkg.go.dev. It is two functions, one struct, one predicate and a sub-package:

func Marshal(e Event) (map[string][]string, []byte, error)
func Unmarshal(h map[string][]string, body []byte) (Event, error)
func ValidExtensionName(name string) bool

const SpecVersion = "1.0"