Documentation ¶
Index ¶
- type Field
- type FieldConfig
- type Interface
- func (iface *Interface) AddError(err error)
- func (iface *Interface) AllMethods() []*Method
- func (iface *Interface) DeclareMethod(name string) *Method
- func (iface *Interface) Doc() string
- func (iface *Interface) Extend(extended *Interface)
- func (iface *Interface) Extends() []*Interface
- func (iface *Interface) Methods() []*Method
- func (iface *Interface) Name() string
- func (iface *Interface) SetDoc(value string)
- type Method
- func (method *Method) AddInput(cfg FieldConfig) *Field
- func (method *Method) AddOutput(cfg FieldConfig) *Field
- func (method *Method) Doc() *string
- func (method *Method) Inputs() []*Field
- func (method *Method) Name() string
- func (method *Method) Outputs() []*Field
- func (method *Method) SetDoc(value *string)
- type Named
- type Package
- func (pkg *Package) AddError(err error)
- func (pkg *Package) DeclareInterface(name string) *Interface
- func (pkg *Package) DeclareStruct(name string) *Struct
- func (pkg *Package) Err() error
- func (pkg *Package) Interfaces() []*Interface
- func (pkg *Package) Path() string
- func (pkg *Package) ReferInterface(name string) *Interface
- func (pkg *Package) ReferStruct(name string) *Struct
- func (pkg *Package) Structs() []*Struct
- type Struct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldConfig ¶
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
func (*Interface) AllMethods ¶
func (*Interface) DeclareMethod ¶
type Method ¶
type Method struct {
// contains filtered or unexported fields
}
func (*Method) AddInput ¶
func (method *Method) AddInput(cfg FieldConfig) *Field
func (*Method) AddOutput ¶
func (method *Method) AddOutput(cfg FieldConfig) *Field
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
func NewPackage ¶
func (*Package) DeclareInterface ¶
func (*Package) DeclareStruct ¶
func (*Package) Interfaces ¶
func (*Package) ReferInterface ¶
func (*Package) ReferStruct ¶
Click to show internal directories.
Click to hide internal directories.