jd

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TmpImageName            = "jd-local"
	GRPCPort         string = "42242"
	CSAEncryptionKey string = "!PASsword000!"
	WSRPCPort        string = "8080"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Image            string          `toml:"image"`
	GRPCPort         string          `toml:"grpc_port"`
	WSRPCPort        string          `toml:"wsrpc_port"`
	CSAEncryptionKey string          `toml:"csa_encryption_key"`
	DockerFilePath   string          `toml:"docker_file"`
	DockerContext    string          `toml:"docker_ctx"`
	DBInput          *postgres.Input `toml:"db"`
	Out              *Output         `toml:"out"`
}

type Output

type Output struct {
	UseCache       bool   `toml:"use_cache"`
	HostGRPCUrl    string `toml:"grpc_url"`
	DockerGRPCUrl  string `toml:"docker_internal_grpc_url"`
	HostWSRPCUrl   string `toml:"wsrpc_url"`
	DockerWSRPCUrl string `toml:"docker_internal_wsrpc_url"`
}

func NewJD

func NewJD(in *Input) (*Output, error)

Jump to

Keyboard shortcuts

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