Documentation
¶
Overview ¶
Package tps pkg/services/tps/tps.go c2-vis-appsvc
transport-setup as a pkg/services.Service. Listens on dmsg RPC for visors and exposes an HTTP API to manage transports remotely.
Like setup-node, the block can either embed config.Config inline or point at a file via ConfigPath. E2E uses the file path; small all-in-one deployments can embed inline.
Index ¶
Constants ¶
View Source
const Type = "transport-setup"
Type is the registry key used in services.json blocks.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
config.Config
// ConfigPath, when non-empty, is the path to a JSON file
// containing a config.Config. File wins over inline.
ConfigPath string `json:"config_path,omitempty"`
LogLevel string `json:"log_level,omitempty"`
Tag string `json:"tag,omitempty"`
}
Config is the JSON configuration for transport-setup.
func ParseBlock ¶
ParseBlock decodes a services.json block into a Config.
Click to show internal directories.
Click to hide internal directories.