requires

package
v1.6.5-rc17 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountID types.SFID
)

Functions

func AuthClient

func AuthClient(transports ...client.HttpTransport) *applet_mgr.Client

AuthClient client with jwt token

func CheckError

func CheckError(t *testing.T, err error, expect error)

func Client

func Client(transports ...client.HttpTransport) *applet_mgr.Client

Client for request APIs

func ClientEvent added in v1.2.3

func ClientEvent(transports ...client.HttpTransport) *applet_mgr.Client

ClientEvent for post wasm event APIs through http transport

func Context

func Context() context.Context

func Databases

func Databases()

Database executor for access database for testing

func Mqtt

func Mqtt()

func NewAuthPatchRT

func NewAuthPatchRT() func(next http.RoundTripper) http.RoundTripper

func NewAuthPatchRTWithToken added in v1.2.3

func NewAuthPatchRTWithToken(tok string) func(next http.RoundTripper) http.RoundTripper

func Server

func Server()

func ServerEvent added in v1.2.3

func ServerEvent()

Types

type AuthPatchRT

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

func (*AuthPatchRT) RoundTrip

func (rt *AuthPatchRT) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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