edgetest

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 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) SetHandlers

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

func (*Server) SetPostHandlers added in v0.0.34

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

func (*Server) SetPreHandlers added in v0.0.33

func (s *Server) SetPreHandlers(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