pkg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ALERT_TIMEFRAME string // checks and alerts sleep time in seconds
View Source
var REDIS_SERVER string // redis server and port
View Source
var REGIONS string // Regions to be chceckd
View Source
var SERVICE_PORT string // web http server listen port
View Source
var SLACK_BOT_URL string // slack bot tokeninzed url
View Source
var TOLERANCE string // minimum time in seconds an instance must run

Functions

func Init

func Init()

func Web

func Web()

Web will start the Web Server and keeps listen for requests.

Types

type Instance

type Instance struct {
	Region  string
	Env     string
	App     string
	Product string

	Type    string
	Expires int64
	Status  string

	Asg       string
	PrivateIP string
	// contains filtered or unexported fields
}

Instance is the object that holds all configurations about a AWS instance.

Jump to

Keyboard shortcuts

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