testserver

package
v0.0.0-...-ae622c5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestServer

type TestServer struct {
	*handler.Server
	// contains filtered or unexported fields
}

func New

func New() *TestServer

New provides a server for use in tests that isn't relying on generated code. It isnt a perfect reproduction of a generated server, but it aims to be good enough to test the handler package without relying on codegen.

func (*TestServer) SendNextSubscriptionMessage

func (s *TestServer) SendNextSubscriptionMessage()

func (*TestServer) SetCalculatedComplexity

func (s *TestServer) SetCalculatedComplexity(complexity int)

Jump to

Keyboard shortcuts

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