Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProtoJSON = protoJSONBinding{}
Functions ¶
This section is empty.
Types ¶
type BodyRule ¶
type BodyRule struct { // Name * or xxx Name string // Type string,integer,number,boolean,array,object Type string }
BodyRule body
type HttpRuleBinding ¶
type HttpRuleBinding struct { Path []*PathRule NamedPath *NamedPathRule Query []*QueryRule Body *BodyRule }
type NamedPathRule ¶
type NamedPathRule struct { // Name book.name Name string // Parameters shelf,book Parameters []string // Template shelves/%s/books/%s Template string }
NamedPathRule /{book.name=shelves/*/books/*} => /shelves/{shelf}/books/{book}
Click to show internal directories.
Click to hide internal directories.