gateway

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

Config holds the properties that configure the package

func NewGatewayConfig

func NewGatewayConfig(opts ...Option) *Config

type DockerGateway

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

func NewDockerGateway

func NewDockerGateway(cfg *Config) (*DockerGateway, error)

func (*DockerGateway) IsReady

func (n *DockerGateway) IsReady() error

func (*DockerGateway) Start

func (n *DockerGateway) Start() error

type Option

type Option = func(c *Config)

Option is a function that applies configs to a Config Object

func WithDockerImage

func WithDockerImage(s string) Option

func WithGatewayHTTPPort

func WithGatewayHTTPPort(i int) Option

func WithGatewayWSPort

func WithGatewayWSPort(i int) Option

func WithTenNodeHTTPPort

func WithTenNodeHTTPPort(i int) Option

func WithTenNodeHost

func WithTenNodeHost(s string) Option

func WithTenNodeWSPort

func WithTenNodeWSPort(i int) Option

Jump to

Keyboard shortcuts

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