message

package
v0.0.0-...-963d989 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2016 License: GPL-3.0 Imports: 1 Imported by: 8

Documentation

Overview

Toto-build, the stupid Go continuous build server.

Toto-build is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

Toto-build is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command int

type of available commands

const (
	PACKAGE Command = iota
	TEST
	HELLO
)

type Error

type Error struct {
	Mes string
}

func (Error) Error

func (e Error) Error() string

type Report

type Report struct {
	JobId  int64
	Status State
	Logs   []string
}

message to report job execution

func (Report) String

func (r Report) String() string

type State

type State int

job execution state

const (
	PENDING State = iota
	WORKING
	SUCCESS
	FAILED
)

type ToWork

type ToWork struct {
	JobId     int64
	Cmd       Command
	Package   string
	GoVersion string
	RepoUrl   string
}

message to run new job

func (ToWork) String

func (t ToWork) String() string

Jump to

Keyboard shortcuts

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