agent

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWebAgent

func RegisterWebAgent(a WebAgent)

Types

type DummyWebAgent

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

func NewDummyWebAgent

func NewDummyWebAgent(path string, handler webHandler) *DummyWebAgent

func (*DummyWebAgent) GetHandler

func (dwa *DummyWebAgent) GetHandler() webHandler

func (*DummyWebAgent) GetPath

func (dwa *DummyWebAgent) GetPath() string

type WebAgent

type WebAgent interface {
	GetPath() string
	GetHandler() webHandler
}

func AllAgents

func AllAgents() []WebAgent

Jump to

Keyboard shortcuts

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