Documentation ¶
Index ¶
- Constants
- Variables
- func ExampleValue(method string, t, parent reflect.Type) interface{}
- func GetAPIType(name, pkg string) (i interface{}, t reflect.Type, permStruct []reflect.Type)
- func MethodGroupFromName(mn string) string
- func ParseApiASTInfo(apiFile, iface, pkg, dir string) (comments map[string]string, groupDocs map[string]string)
- type Method
- type MethodGroup
- type Visitor
Constants ¶
View Source
const NoComment = "There are not yet any comments for this method."
Variables ¶
View Source
var ExampleValues = map[reflect.Type]interface{}{ reflect.TypeOf(api.MinerSubsystem(0)): api.MinerSubsystem(1), reflect.TypeOf(auth.Permission("")): auth.Permission("write"), reflect.TypeOf(""): "string value", reflect.TypeOf(uint64(42)): uint64(42), reflect.TypeOf(byte(7)): byte(7), reflect.TypeOf([]byte{}): []byte("byte array"), }
Functions ¶
func ExampleValue ¶ added in v1.9.0
func GetAPIType ¶ added in v1.9.0
func MethodGroupFromName ¶ added in v1.9.0
Types ¶
type MethodGroup ¶
Click to show internal directories.
Click to hide internal directories.