edgetest

package
v0.6.47 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTimeout           = fmt.Errorf("timeout")
	ErrExpectationFailed = fmt.Errorf("expectation failed")
)

Functions

This section is empty.

Types

type CheckFunc

type CheckFunc func(b []byte, auth []byte, kv ...*rony.KeyValue) error

type Server

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

func NewServer

func NewServer(serverID string, d edge.Dispatcher) *Server

func (*Server) Context

func (s *Server) Context() *context

func (*Server) RealEdge added in v0.1.5

func (s *Server) RealEdge() *edge.Server

func (*Server) Scenario added in v0.2.1

func (s *Server) Scenario() *scenario

func (*Server) SetGlobalPostHandlers added in v0.3.8

func (s *Server) SetGlobalPostHandlers(h ...edge.Handler)

func (*Server) SetGlobalPreHandlers added in v0.3.18

func (s *Server) SetGlobalPreHandlers(h ...edge.Handler)

func (*Server) SetHandlers

func (s *Server) SetHandlers(constructor int64, h ...edge.Handler)

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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