sandbox

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingEndpoint  = errors.New("missing sandbox endpoint")
	ErrOfficialEndpoint = errors.New("official-looking endpoint forbidden in sandbox")
)

Functions

func NewAdapter

func NewAdapter(cfg Config) (*service.Adapter, error)

Types

type Config

type Config struct {
	Endpoint                     string
	AllowOfficialEndpointForTest bool
}

Jump to

Keyboard shortcuts

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