spawn

package
v0.0.0-...-a011eca Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: BSD-3-Clause, GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Command *exec.Cmd
	// contains filtered or unexported fields
}

Server manages spawned servers

func GoPackage

func GoPackage(gopackage string, prefix string) (*Server, error)

GoPackage returns a Spawned server given is go package

func (*Server) Close

func (a *Server) Close() (err error)

Close closes all connections

func (*Server) Start

func (a *Server) Start() (err error)

Start connects to a server

func (*Server) URI

func (a *Server) URI() (string, error)

URI returns the URI that the spawned server expects connections on

Jump to

Keyboard shortcuts

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