utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

type HTTP struct {
	General []byte
	Header  map[string][]byte
	Body    []byte
}

HTTP HTTP

func NewHTTP

func NewHTTP() *HTTP

NewHTTP New

func (*HTTP) ParseRequest

func (http *HTTP) ParseRequest(content []byte) error

ParseRequest parse http request

func (*HTTP) ParseResponse

func (http *HTTP) ParseResponse(content []byte) error

ParseResponse parse http response

Jump to

Keyboard shortcuts

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