testutil

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrCodeUpdateInvalidResponseType = "UpdateInvalidResponseType"
	ErrCodeUpdateValidationFailed    = "UpdateValidationFailed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateCallbacks

type UpdateCallbacks struct {
	// contains filtered or unexported fields
}

func NewUpdateCallbacks

func NewUpdateCallbacks() *UpdateCallbacks

func (*UpdateCallbacks) Accept

func (uc *UpdateCallbacks) Accept()

func (*UpdateCallbacks) Complete

func (uc *UpdateCallbacks) Complete(result any, err error)

func (*UpdateCallbacks) Get

func (uc *UpdateCallbacks) Get(ctx context.Context) (any, error)

func (*UpdateCallbacks) Reject

func (uc *UpdateCallbacks) Reject(err error)

Jump to

Keyboard shortcuts

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