instancefactory

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build added in v0.34.0

func Build(opts ...BuildOption) instance.Instance

Types

type BuildOption added in v0.34.0

type BuildOption func(*BuildParams)

func WithID added in v0.34.0

func WithID(id string) BuildOption

func WithRandomID added in v0.34.0

func WithRandomID() BuildOption

func WithRandomServerAddress added in v0.34.0

func WithRandomServerAddress() BuildOption

func WithServerAddress added in v0.34.0

func WithServerAddress(ip string, port int) BuildOption

type BuildParams added in v0.34.0

type BuildParams struct {
	ID   string
	IP   string
	Port int
}

Jump to

Keyboard shortcuts

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