request

package
v0.0.0-...-d4285bb Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2014 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package processing provides functionality for running a submission and its snapshots through the Impendulo tool suite.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type R

type R struct {
	SubId, FileId bson.ObjectId
	Type          Type
}

Request is used to carry requests to process submissions and files.

func AddFile

func AddFile(fid, sid bson.ObjectId) *R

func RemoveFile

func RemoveFile(fid, sid bson.ObjectId) *R

func StartSubmission

func StartSubmission(sid bson.ObjectId) *R

func StopSubmission

func StopSubmission(sid bson.ObjectId) *R

func (*R) Valid

func (r *R) Valid() error

type Type

type Type uint8
const (
	SUBMISSION_START Type = iota
	SUBMISSION_STOP
	FILE_ADD
	FILE_REMOVE
)

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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