handler

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func (*Handler) RunFinish

func (h *Handler) RunFinish()

func (*Handler) RunStart

func (h *Handler) RunStart() (port string, err error)

func (*Handler) Sandbox added in v0.1.1

func (h *Handler) Sandbox() sandbox.Sandbox

func (*Handler) StopIfPaused

func (h *Handler) StopIfPaused()

type HandlerLRU

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

func NewHandlerLRU

func NewHandlerLRU(soft_limit int) *HandlerLRU

func (*HandlerLRU) Add

func (lru *HandlerLRU) Add(handler *Handler)

func (*HandlerLRU) Dump

func (lru *HandlerLRU) Dump()

func (*HandlerLRU) Evictor

func (lru *HandlerLRU) Evictor()

func (*HandlerLRU) Len

func (lru *HandlerLRU) Len() int

func (*HandlerLRU) Remove

func (lru *HandlerLRU) Remove(handler *Handler)

type HandlerSet

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

func NewHandlerSet

func NewHandlerSet(opts HandlerSetOpts) (handlerSet *HandlerSet)

func (*HandlerSet) Dump

func (h *HandlerSet) Dump()

func (*HandlerSet) Get

func (h *HandlerSet) Get(name string) *Handler

always return a Handler, creating one if necessarily.

type HandlerSetOpts

type HandlerSetOpts struct {
	Sm  sandbox.SandboxManager
	Lru *HandlerLRU
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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