bridge

package
v0.0.0-...-cdf4a0c Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	// contains filtered or unexported fields
}

func NewBridge

func NewBridge(cfg *BridgeConfig, logger cocaine.Logger) (*Bridge, error)

func (*Bridge) Close

func (b *Bridge) Close()

func (*Bridge) Start

func (b *Bridge) Start() error

type BridgeConfig

type BridgeConfig struct {
	Name           string
	Args           []string
	Env            []string
	Port           int
	StartupTimeout int
}

func NewBridgeConfig

func NewBridgeConfig() *BridgeConfig

func (*BridgeConfig) Endpoint

func (cfg *BridgeConfig) Endpoint() string

Jump to

Keyboard shortcuts

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