sandbox

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

README

sandbox

Sandbox runs Docker containers

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

Config ...

type Interface

type Interface interface {
	Play(config *PlayConfig) ([]byte, error)
}

Interface ...

type PlayConfig

type PlayConfig struct {
	ImageID      string // can be ipfs hash
	Payload      []byte
	InitialState []byte
}

PlayConfig ...

type Service

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

Service ...

func New

func New(config *Config) *Service

New ...

func (*Service) Play

func (s *Service) Play(config *PlayConfig) ([]byte, error)

Play in the sandbox

Directories

Path Synopsis
Package mock_sandbox is a generated GoMock package.
Package mock_sandbox is a generated GoMock package.

Jump to

Keyboard shortcuts

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