bigmachine: github.com/grailbio/bigmachine/driver Index | Files

package driver

import "github.com/grailbio/bigmachine/driver"

Package driver provides a convenient API for bigmachine drivers, which includes configuration by flags. Driver exports the bigmachine's diagnostic http handlers on the default ServeMux.

func main() {
	flag.Parse()
	b := driver.Start()
	defer b.shutdown()
	// Driver code
}

Index

Package Files

driver.go

func Start Uses

func Start() *bigmachine.B

Start configures a bigmachine System based on the program's flags, Sand then starts it. ee bigmachine.Start for more details.

Package driver imports 5 packages (graph). Updated 2019-10-02. Refresh now. Tools for package owners.