Documentation
¶
Overview ¶
Package directive GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
View Source
const DefaultDirectiveNewer = "_default"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func (*Decoder) DirectiveName ¶
func (*Decoder) RegisterDirectiveNewer ¶
func (*Decoder) Unmarshaler ¶
func (d *Decoder) Unmarshaler(name string) (Unmarshaler, error)
type ErrInvalidDirective ¶
type ErrInvalidDirective struct {
DirectiveName string
}
func (*ErrInvalidDirective) Error ¶
func (e *ErrInvalidDirective) Error() string
func (*ErrInvalidDirective) RuntimeDoc ¶
func (v *ErrInvalidDirective) RuntimeDoc(names ...string) ([]string, bool)
func (*ErrInvalidDirective) StatusCode ¶
func (e *ErrInvalidDirective) StatusCode() int
type ErrUnsupportedDirective ¶
type ErrUnsupportedDirective struct {
DirectiveName string
}
func (*ErrUnsupportedDirective) Error ¶
func (e *ErrUnsupportedDirective) Error() string
func (*ErrUnsupportedDirective) RuntimeDoc ¶
func (v *ErrUnsupportedDirective) RuntimeDoc(names ...string) ([]string, bool)
func (*ErrUnsupportedDirective) StatusCode ¶
func (e *ErrUnsupportedDirective) StatusCode() int
type Newer ¶
type Newer func() Unmarshaler
type Unmarshaler ¶
type UnmarshalerFunc ¶
func (*UnmarshalerFunc) RuntimeDoc ¶
func (*UnmarshalerFunc) RuntimeDoc(names ...string) ([]string, bool)
func (UnmarshalerFunc) UnmarshalDirective ¶
func (fn UnmarshalerFunc) UnmarshalDirective(d *Decoder) error
Click to show internal directories.
Click to hide internal directories.