gp

package
v0.0.0-...-5341101 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GoPostalVersion = "0.1.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type GoPostal

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

func New

func New() *GoPostal

func (*GoPostal) CallRequest

func (app *GoPostal) CallRequest(reqSpec *gpmodel.RequestSpec, writer io.Writer) (*string, error)

func (*GoPostal) ExecCurrentSelection

func (app *GoPostal) ExecCurrentSelection(w io.Writer)

func (*GoPostal) Run

func (app *GoPostal) Run()

func (*GoPostal) RunJavaScript

func (app *GoPostal) RunJavaScript(script, responseBody string)

func (*GoPostal) SetRequestGroups

func (app *GoPostal) SetRequestGroups(grps []*gpmodel.RequestGroup)

func (*GoPostal) SetVarGroups

func (app *GoPostal) SetVarGroups(varGroups []*gpmodel.VarGroup)

func (*GoPostal) Stop

func (app *GoPostal) Stop()

func (*GoPostal) UpdateSession

func (app *GoPostal) UpdateSession(key, val string)

type Session

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

func NewSession

func NewSession() *Session

func (*Session) Array

func (s *Session) Array() [][]string

func (*Session) Get

func (s *Session) Get(key string) string

func (*Session) Map

func (s *Session) Map() map[string]string

func (*Session) Names

func (s *Session) Names() []string

func (*Session) Put

func (s *Session) Put(key, val string)

func (*Session) Update

func (s *Session) Update(vg *gpmodel.VarGroup, overwrite bool)

Jump to

Keyboard shortcuts

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