requires

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 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 Serve

func Serve() (stop func())

func Server

func Server()

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