nexustest

package
v0.0.0-...-99c2a2b Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectResponse

func InjectResponse(respEncode *graphql.Response, matchFunc func(RequestVars)) func(context.Context, *graphql.Request, *graphql.Response)

func IntPtr

func IntPtr(i int) *int

func StrPtr

func StrPtr(s string) *string

Types

type RequestVars

type RequestVars = map[string]interface{}

type TestObject

type TestObject struct {
	MockClient *gqltest.MockClient
	// contains filtered or unexported fields
}

func MakeTestObject

func MakeTestObject(t *testing.T) TestObject

func (*TestObject) MakeConfig

func (to *TestObject) MakeConfig() *service.ConfigRecord

func (*TestObject) TeardownTest

func (to *TestObject) TeardownTest()

Jump to

Keyboard shortcuts

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