edgetest

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: BSD-3-Clause Imports: 10 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() *conn

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