jd

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: MIT Imports: 9 Imported by: 5 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`
	ExternalGRPCUrl  string `toml:"grpc_url"`
	InternalGRPCUrl  string `toml:"internal_grpc_url"`
	ExternalWSRPCUrl string `toml:"wsrpc_url"`
	InternalWSRPCUrl string `toml:"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