Documentation ¶
Index ¶
- Variables
- func DataEntryAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func DataEntryAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
- func DataEntryEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func DataEntryStart(builder *flatbuffers.Builder)
- func DataEntryStartValueVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TextEntryAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func TextEntryAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
- func TextEntryEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TextEntryStart(builder *flatbuffers.Builder)
- type DataEntry
- func (rcv *DataEntry) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *DataEntry) MutateValue(j int, n byte) bool
- func (rcv *DataEntry) Name() []byte
- func (rcv *DataEntry) Table() flatbuffers.Table
- func (rcv *DataEntry) Value(j int) byte
- func (rcv *DataEntry) ValueBytes() []byte
- func (rcv *DataEntry) ValueLength() int
- type Method
- type TextEntry
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesMethod = map[Method]string{ MethodGET: "GET", MethodHEAD: "HEAD", MethodPOST: "POST", MethodPUT: "PUT", MethodDELETE: "DELETE", MethodMKCOL: "MKCOL", MethodCOPY: "COPY", MethodMOVE: "MOVE", MethodOPTIONS: "OPTIONS", MethodPROPFIND: "PROPFIND", MethodPROPPATCH: "PROPPATCH", MethodLOCK: "LOCK", MethodUNLOCK: "UNLOCK", MethodPATCH: "PATCH", MethodTRACE: "TRACE", }
View Source
var EnumValuesMethod = map[string]Method{ "GET": MethodGET, "HEAD": MethodHEAD, "POST": MethodPOST, "PUT": MethodPUT, "DELETE": MethodDELETE, "MKCOL": MethodMKCOL, "COPY": MethodCOPY, "MOVE": MethodMOVE, "OPTIONS": MethodOPTIONS, "PROPFIND": MethodPROPFIND, "PROPPATCH": MethodPROPPATCH, "LOCK": MethodLOCK, "UNLOCK": MethodUNLOCK, "PATCH": MethodPATCH, "TRACE": MethodTRACE, }
Functions ¶
func DataEntryAddName ¶
func DataEntryAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func DataEntryAddValue ¶
func DataEntryAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
func DataEntryEnd ¶
func DataEntryEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func DataEntryStart ¶
func DataEntryStart(builder *flatbuffers.Builder)
func DataEntryStartValueVector ¶
func DataEntryStartValueVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TextEntryAddName ¶
func TextEntryAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func TextEntryAddValue ¶
func TextEntryAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
func TextEntryEnd ¶
func TextEntryEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TextEntryStart ¶
func TextEntryStart(builder *flatbuffers.Builder)
Types ¶
type DataEntry ¶
type DataEntry struct {
// contains filtered or unexported fields
}
func GetRootAsDataEntry ¶
func GetRootAsDataEntry(buf []byte, offset flatbuffers.UOffsetT) *DataEntry
func GetSizePrefixedRootAsDataEntry ¶
func GetSizePrefixedRootAsDataEntry(buf []byte, offset flatbuffers.UOffsetT) *DataEntry
func (*DataEntry) Table ¶
func (rcv *DataEntry) Table() flatbuffers.Table
func (*DataEntry) ValueBytes ¶
func (*DataEntry) ValueLength ¶
type Method ¶
type Method byte
const ( MethodGET Method = 0 MethodHEAD Method = 1 MethodPOST Method = 2 MethodPUT Method = 3 MethodDELETE Method = 4 MethodMKCOL Method = 5 MethodCOPY Method = 6 MethodMOVE Method = 7 MethodOPTIONS Method = 8 MethodPROPFIND Method = 9 MethodPROPPATCH Method = 10 MethodLOCK Method = 11 MethodUNLOCK Method = 12 MethodPATCH Method = 13 MethodTRACE Method = 14 )
type TextEntry ¶
type TextEntry struct {
// contains filtered or unexported fields
}
func GetRootAsTextEntry ¶
func GetRootAsTextEntry(buf []byte, offset flatbuffers.UOffsetT) *TextEntry
func GetSizePrefixedRootAsTextEntry ¶
func GetSizePrefixedRootAsTextEntry(buf []byte, offset flatbuffers.UOffsetT) *TextEntry
func (*TextEntry) Table ¶
func (rcv *TextEntry) Table() flatbuffers.Table
Click to show internal directories.
Click to hide internal directories.