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) 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 }
Click to show internal directories.
Click to hide internal directories.