service

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 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

Overview

Package service starts a local SysML v2 service for a run: the CLI's -api local (CLI-9) and the tests' servicetest both come here. It finds a sysml-grpc on PATH, or builds one from the OpenSysML checkout ($OPENSYSML_DIR, default ../sysmlv2/OpenSysML beside this module), runs it with `-port 0 -report-address -health-port 0`, and answers the address it reports — after a probe, so a service that starts but cannot serve fails here, with its stderr beside the message. On Linux the service is killed when this process dies, so a crashed run leaves none behind.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start() (string, func(), error)

Start starts a local sysml-grpc and answers the address to dial (as opensysml.Dial and the -api flag take it) and how to stop it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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