/**************************************************************************************
 *
 *     Project:    kvmstoreserver
 *     File name:  controlEnums.go
 *     Version:    1.0.0
 *     Date:       2018-01-14
 *
 *     Autor:      Bogdanovic Theodor
 *     Contact:    t.bogdanovic@hotmail.com
 *
 *     License:    GPLv3
 *
 **************************************************************************************/
/**************************************************************************************
 * Copyright 2018 Bogdanovic Theodor
 *
 * This file is part of kvmstoreserver.
 *
 * kvmstoreserver 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.
 *
 * kvmstoreserver 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 kvmstoreserver.  If not, see <http://www.gnu.org/licenses/>.
 **************************************************************************************/
/**************************************************************************************
 *  Further explanations:  This source code is under the license specified by the
 *                         Autor above. Core components or other packages are still
 *                         in source code form, under the license specified by the
 *                         respective author.
 **************************************************************************************/

// Package essentials offers various control elements that can be used by all
// components. In this way, enums are formed in Go
package essentials

// Control wrapps the type unit8
type Control uint8

const (
	// DoPanic is used to signal that a panic is necessary
	DoPanic Control = iota

	// DontPanic is used to signal that a panic is not necessary
	DontPanic

	// Save is used to signal that something needs to be saved
	Save

	// Delete is used to signal that something needs to be deleted
	Delete

	// Load is used to signal that something needs to be loaded
	Load
)
