gateway

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package gateway provides a wrapper around the Gateway service used for E2E tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

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

func New

func New(ctx context.Context, logger *zap.Logger, opts Options) (*Gateway, error)

func (*Gateway) Alias

func (g *Gateway) Alias() string

func (*Gateway) Container

func (g *Gateway) Container() testcontainers.Container

func (*Gateway) InternalAddr

func (g *Gateway) InternalAddr() string

func (*Gateway) SignerKey

func (g *Gateway) SignerKey() string

SignerKey returns the private key hex string used by this gateway for signing and payer operations.

func (*Gateway) Stop

func (g *Gateway) Stop(ctx context.Context) error

type Options

type Options struct {
	ID        string
	Image     string
	Alias     string
	WsURL     string
	RPCURL    string
	SignerKey string
	EnvVars   map[string]string
}

Jump to

Keyboard shortcuts

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