Documentation ¶
Index ¶
- Constants
- type GrpcState
- type Http2Request
- func (r *Http2Request) GetBody() interface{}
- func (r *Http2Request) GetDstHost() string
- func (r *Http2Request) GetDstPort() string
- func (r *Http2Request) GetHeaders() map[string]string
- func (r *Http2Request) GetPath() string
- func (r *Http2Request) GetSrcHost() string
- func (r *Http2Request) GetSrcPort() string
- type Http2Response
- func (r *Http2Response) GetBody() interface{}
- func (r *Http2Response) GetDstHost() string
- func (r *Http2Response) GetDstPort() string
- func (r *Http2Response) GetHeaders() map[string]string
- func (r *Http2Response) GetPath() string
- func (r *Http2Response) GetSrcHost() string
- func (r *Http2Response) GetSrcPort() string
- type HttpRequest
- func (r *HttpRequest) GetBody() interface{}
- func (r *HttpRequest) GetDstHost() string
- func (r *HttpRequest) GetDstPort() string
- func (r *HttpRequest) GetHeaders() map[string]string
- func (r *HttpRequest) GetPath() string
- func (r *HttpRequest) GetSrcHost() string
- func (r *HttpRequest) GetSrcPort() string
- type HttpResponse
- func (r *HttpResponse) GetBody() interface{}
- func (r *HttpResponse) GetDstHost() string
- func (r *HttpResponse) GetDstPort() string
- func (r *HttpResponse) GetHeaders() map[string]string
- func (r *HttpResponse) GetPath() string
- func (r *HttpResponse) GetSrcHost() string
- func (r *HttpResponse) GetSrcPort() string
- type Packet
- type RenderModel
- type Stream
Constants ¶
View Source
const ( //RequestType ... RequestType = 1 //ResponseType ... ResponseType = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Http2Request ¶
type Http2Request struct { SrcHost string SrcPort string DstHost string DstPort string GrpcPath string Message interface{} MetaHeaders map[string]string }
Http2Request represents http request
func NewHttp2Request ¶
func NewHttp2Request(packet *Packet, stream *Stream, grpcMessage interface{}) *Http2Request
NewHttp2Request creates new Http2Request
func (*Http2Request) GetHeaders ¶
func (r *Http2Request) GetHeaders() map[string]string
GetHeaders ...
type Http2Response ¶
type Http2Response struct { SrcHost string SrcPort string DstHost string DstPort string Message interface{} MetaHeaders map[string]string }
Http2Response represents http2 response
func NewHttp2Response ¶
func NewHttp2Response(packet *Packet, stream *Stream, grpcMessage interface{}) *Http2Response
NewHttp2Response creates new Http2Request
func (*Http2Response) GetHeaders ¶
func (r *Http2Response) GetHeaders() map[string]string
GetHeaders ...
type HttpRequest ¶
type HttpRequest struct { SrcHost string SrcPort string DstHost string DstPort string Method string URL string }
HttpRequest represents http request
func NewHttpRequest ¶
func NewHttpRequest(packet *Packet) *HttpRequest
NewHttpRequest creates new HttpRequest model
func (*HttpRequest) GetHeaders ¶
func (r *HttpRequest) GetHeaders() map[string]string
GetHeaders ...
type HttpResponse ¶
type HttpResponse struct { SrcHost string SrcPort string DstHost string DstPort string Body string }
HttpResponse represents http response
func NewHttpResponse ¶
func NewHttpResponse(packet *Packet) *HttpResponse
NewHttpResponse creates new HttpResponse model
func (*HttpResponse) GetHeaders ¶
func (r *HttpResponse) GetHeaders() map[string]string
GetHeaders ...
type Packet ¶
Packet represents entity net request for view
func (*Packet) GetConnectionKey ¶
GetConnectionKey returns connection string
func (*Packet) GetRevConnectionKey ¶
GetRevConnectionKey returns connection string
Click to show internal directories.
Click to hide internal directories.