document

package
v0.0.0-...-75a7993 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	Kind     string   `json:"kind" yaml:"kind" toml:"kind"`
	Contents Metadata `json:"metadata" yaml:"metadata" toml:"metadata"`
}

func (*Document) TypeURI

func (d *Document) TypeURI() string

func (*Document) UnmarshalJSON

func (d *Document) UnmarshalJSON(data []byte) (err error)

func (*Document) UnmarshalYAML

func (d *Document) UnmarshalYAML(node *yaml.Node) (err error)

type Metadata

type Metadata interface {
	DataLinkAddrs() []net.DataLinkAddr
}

Jump to

Keyboard shortcuts

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