http

package
v0.0.0-...-2f10389 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	eventsource.Configuration
	ListenAddress string
}

type Event

type Event struct {
	processor.AbstractSync
	// contains filtered or unexported fields
}

allows accessing fasthttp.RequestCtx as a event.Sync

func (*Event) GetBody

func (e *Event) GetBody() []byte

func (*Event) GetContentType

func (e *Event) GetContentType() string

func (*Event) GetFieldByteSlice

func (e *Event) GetFieldByteSlice(key string) []byte

func (*Event) GetFieldInt

func (e *Event) GetFieldInt(key string) (int, error)

func (*Event) GetFieldString

func (e *Event) GetFieldString(key string) string

func (*Event) GetFields

func (e *Event) GetFields() map[string]interface{}

func (*Event) GetHeaderByteSlice

func (e *Event) GetHeaderByteSlice(key string) []byte

func (*Event) GetHeaderString

func (e *Event) GetHeaderString(key string) string

func (*Event) GetMethod

func (e *Event) GetMethod() string

func (*Event) GetPath

func (e *Event) GetPath() string

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL