Documentation ¶
Overview ¶
*
- library to parse fastcgi protocol
Index ¶
Constants ¶
View Source
const ( TypeBeginRequest recType = 1 TypeAbortRequest recType = 2 TypeEndRequest recType = 3 TypeParams recType = 4 TypeStdin recType = 5 TypeStdout recType = 6 TypeStderr recType = 7 TypeData recType = 8 TypeGetValues recType = 9 TypeGetValuesResult recType = 10 TypeUnknownType recType = 11 )
View Source
const (
HeaderSize = 8
)
View Source
const (
Version = uint8(1)
)
Variables ¶
View Source
var ( FastCGIRequestHeader = []byte{0x1, 0x1, 0x0, 0x1, 0x0, 0x8} FastCGIResponseHeader = []byte{0x1, 0x6, 0x0, 0x1} )
Functions ¶
Types ¶
type BeginRequest ¶
func (*BeginRequest) GetType ¶
func (br *BeginRequest) GetType() recType
type EndRequest ¶
func (*EndRequest) GetType ¶
func (br *EndRequest) GetType() recType
type Header ¶
type Http ¶
type StderrResponse ¶
type StderrResponse struct {
Data []byte
}
func (*StderrResponse) GetType ¶
func (br *StderrResponse) GetType() recType
type StdinRequest ¶
type StdinRequest struct {
Data []byte
}
func (*StdinRequest) GetType ¶
func (br *StdinRequest) GetType() recType
type StdoutResponse ¶
type StdoutResponse struct {
Data []byte
}
func (*StdoutResponse) GetType ¶
func (br *StdoutResponse) GetType() recType
type UnknownType ¶
func (*UnknownType) GetType ¶
func (br *UnknownType) GetType() recType
Click to show internal directories.
Click to hide internal directories.