web

package
v0.0.0-...-64f3ffe Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

interactive web user interface

interactive web user interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SerializedBody

type SerializedBody struct {
	RawContentType string
	ContentType    string
	Text           string
	Length         int
	Error          string
	ErrorOffset    int
	Form           url.Values
}

type SerializedPayload

type SerializedPayload struct {
	Txns    []interface{}
	UiState SerializedUiState
}

type SerializedRequest

type SerializedRequest struct {
	Raw        string
	MethodPath string
	Params     url.Values
	Header     http.Header
	Body       SerializedBody
	Binary     bool
}

type SerializedResponse

type SerializedResponse struct {
	Raw    string
	Status string
	Header http.Header
	Body   SerializedBody
	Binary bool
}

type SerializedTxn

type SerializedTxn struct {
	Id             string
	Duration       int64
	Start          int64
	ConnCtx        mvc.ConnectionContext
	*proto.HttpTxn `json:"-"`
	Req            SerializedRequest
	Resp           SerializedResponse
}

type SerializedUiState

type SerializedUiState struct {
	Tunnels []mvc.Tunnel
}

type WebHttpView

type WebHttpView struct {
	log.Logger

	HttpRequests *util.Ring
	// contains filtered or unexported fields
}

func (*WebHttpView) Shutdown

func (whv *WebHttpView) Shutdown()

type WebView

type WebView struct {
	log.Logger
	// contains filtered or unexported fields
}

func NewWebView

func NewWebView(ctl mvc.Controller, addr string) *WebView

func (*WebView) NewHttpView

func (wv *WebView) NewHttpView(proto *proto.Http) *WebHttpView

func (*WebView) Shutdown

func (wv *WebView) Shutdown()

type XMLDoc

type XMLDoc struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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