edgetest

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 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, 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) REST added in v0.10.0

func (s *Server) REST() *restCtx

func (*Server) RPC added in v0.10.0

func (s *Server) RPC() *rpcCtx

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 uint64, 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