jd

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 8 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"`
	DBURL            string  `toml:"db_url"`
	CSAEncryptionKey string  `toml:"csa_encryption_key"`
	DockerFilePath   string  `toml:"docker_file"`
	DockerContext    string  `toml:"docker_ctx"`
	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