server

package
v0.0.0-...-3ed78a1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2017 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const MaxInt64 = int(^uint(0) >> 1)

Variables

This section is empty.

Functions

func Main

func Main(cmd *cobra.Command, args []string)

Types

type Job

type Job struct {
	Size     int64
	Status   bool
	Shards   [1000]*Shard
	Code     string
	Lock     *sync.Mutex
	Solution string // I'd like this to be more generic, but oh well
}

type Shard

type Shard struct {
	Size              int64
	Status            int64
	StartTimestamp    int64
	CompleteTimestamp int64
	Worker            string
}

Jump to

Keyboard shortcuts

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