Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnumTypeSpec ¶
type EnumTypeSpec struct { Name string `json:"name"` Doc string `json:"doc"` Values []*EnumValueSpec `json:"values"` }
type EnumValueSpec ¶
type NotificationSpec ¶
type NotificationSpec struct { Method string `json:"method"` Doc string `json:"doc"` Params *StructSpec `json:"params"` }
type RequestSpec ¶
type RequestSpec struct { Method string `json:"method"` Doc string `json:"doc"` Caller string `json:"caller"` Params *StructSpec `json:"params"` Result *StructSpec `json:"result"` }
type Spec ¶
type Spec struct { Requests []*RequestSpec `json:"requests"` Notifications []*NotificationSpec `json:"notifications"` StructTypes []*StructTypeSpec `json:"structTypes"` EnumTypes []*EnumTypeSpec `json:"enumTypes"` }
type StructSpec ¶
type StructSpec struct {
Fields []*FieldSpec `json:"fields"`
}
type StructTypeSpec ¶
Click to show internal directories.
Click to hide internal directories.