mirthagent

package
Version: v0.0.0-...-5ef485b Latest Latest
Warning

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

Go to latest
Published: May 1, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TLSVerify bool = true

Functions

This section is empty.

Types

type Agent

type Agent struct {
	API *api.API
	// contains filtered or unexported fields
}

func New

func New(server string, port string, version string) *Agent

func (*Agent) Connect

func (Ω *Agent) Connect() (b chan bool, e chan error)

func (*Agent) Login

func (Ω *Agent) Login(username string, password string) (chan bool, chan error)

func (*Agent) LoginStatus

func (Ω *Agent) LoginStatus() (loggedIn bool, userName string, restorable bool)

func (*Agent) NewRequest

func (Ω *Agent) NewRequest() *gorequest.SuperAgent

returns a new request object clone session from default request

func (*Agent) Request

func (Ω *Agent) Request() *gorequest.SuperAgent

returns the default request object

Source Files

Jump to

Keyboard shortcuts

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