Documentation ¶
Index ¶
- Variables
- type API
- type Annotation
- type Asset
- type Element
- func (b *Element) Children() ([]*Element, error)
- func (b *Element) ChildrenMap() (map[string]*Element, error)
- func (b *Element) Exists(key string) bool
- func (b *Element) FlatChildren() ([]*Element, error)
- func (b *Element) Index(i int) *Element
- func (b *Element) Object() interface{}
- func (b *Element) Path(key string) *Element
- func (b *Element) String() string
- func (b *Element) Value() reflect.Value
- type Header
- type Href
- type Metadata
- type Parameter
- type Request
- type Resource
- type ResourceGroup
- type Response
- type SourceMap
- type Transaction
- type Transition
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIsNotSlice = errors.New("is not a slice")
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Title string Description string Metadata []Metadata ResourceGroups []ResourceGroup Annotations []Annotation }
type Annotation ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func (*Element) FlatChildren ¶ added in v0.6.7
type Resource ¶
type Resource struct { Title string Description string Transitions []*Transition Href Href }
type ResourceGroup ¶
type Transaction ¶
type Transition ¶
Click to show internal directories.
Click to hide internal directories.