Documentation ¶
Index ¶
- Variables
- type Event
- type HttpEvent
- func (e HttpEvent) Body() HttpEventBody
- func (e HttpEvent) Headers() HttpEventHeaders
- func (e HttpEvent) Host() (string, error)
- func (e HttpEvent) Method() (string, error)
- func (e HttpEvent) Path() (string, error)
- func (e HttpEvent) Query() HttpQueries
- func (e HttpEvent) Return(code int) error
- func (e HttpEvent) UserAgent() (string, error)
- func (e HttpEvent) Write(data []byte) (int, error)
- type HttpEventBody
- type HttpEventHeaders
- type HttpQueries
Constants ¶
This section is empty.
Variables ¶
View Source
var CloseHttpEventBody = func(eventId uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var EventHttpHeaderAdd = func(eventId uint32, key string, val string) (error errno.Error) { return errno.ErrorNone }
View Source
var EventHttpRetCode = func(eventId uint32, code uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var EventHttpWrite = func(eventId uint32, bufPtr *byte, bufSize uint32, n *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetEventType = func(eventId uint32, typeid *uint32) {}
View Source
var GetHttpEventHeaderByName = func(eventId uint32, key string, bufPtr *byte, bufSize uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventHeaderByNameSize = func(eventId uint32, size *uint32, key string) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventHost = func(eventId uint32, bufPtr *byte, bufSize uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventHostSize = func(eventId uint32, size *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventMethod = func(eventId uint32, bufPtr *byte, bufSize uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventMethodSize = func(eventId uint32, size *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventPath = func(eventId uint32, bufPtr *byte, bufSize uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventPathSize = func(eventId uint32, size *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventQueryValueByName = func(eventId uint32, key string, bufPtr *byte, bufSize uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventQueryValueByNameSize = func(eventId uint32, size *uint32, key string) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventRequestHeaderKeys = func(eventId uint32, bufPtr *byte) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventRequestHeaderKeysSize = func(eventId uint32, sizePtr *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventRequestQueryKeys = func(eventId uint32, bufPtr *byte) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventRequestQueryKeysSize = func(eventId uint32, sizePtr *uint32) (error errno.Error) { return errno.ErrorNone }
View Source
var GetHttpEventUserAgent = func(eventId uint32, bufPtr *byte, bufSize uint32) (error errno.Error) { return errno.ErrorNone }
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event uint32
type HttpEvent ¶
type HttpEvent uint32
func (HttpEvent) Body ¶
func (e HttpEvent) Body() HttpEventBody
func (HttpEvent) Headers ¶
func (e HttpEvent) Headers() HttpEventHeaders
func (HttpEvent) Query ¶
func (e HttpEvent) Query() HttpQueries
type HttpEventBody ¶
type HttpEventBody uint32
func (HttpEventBody) Close ¶
func (b HttpEventBody) Close() error
type HttpEventHeaders ¶
type HttpEventHeaders uint32
func (HttpEventHeaders) List ¶
func (e HttpEventHeaders) List() ([]string, error)
func (HttpEventHeaders) Set ¶
func (e HttpEventHeaders) Set(key, value string) error
type HttpQueries ¶
type HttpQueries uint32
func (HttpQueries) List ¶
func (e HttpQueries) List() ([]string, error)
Click to show internal directories.
Click to hide internal directories.