internal

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitCommit = "dev      "
View Source
	"|  _ \\(_) | |  \\/  |          | |  " + GitCommit[:8] + "\n" +
	"| |_) |_| |_| \\  / | __ _  ___| |_   _ _ __ ___\n" +
	"|  _ <| | __| |\\/| |/ _` |/ _ \\ | | | | '_ ` _ \\\n" +
	"| |_) | | |_| |  | | (_| |  __/ | |_| | | | | | |\n" +
	"|____/|_|\\__|_|  |_|\\__,_|\\___|_|\\__,_|_| |_| |_|\n" +
	"\n" +
	"   P r i v a c y   i s   y o u r s   a g a i n\n" +
	"\n"

Functions

func ExportMetric added in v0.2.2

func ExportMetric() *events.APIGatewayV2HTTPResponse

ExportMetric will return a JSON output with the exported JSON log

func GetBoltDb

func GetBoltDb() *bolt.DB

GetBoltDb opens a generic bolt-db handle. This is because we use the same bolt-db file for multiple repositories and otherwise it cannot open the file because another repository already has it open

func LogMetric added in v0.2.2

func LogMetric(path string, statusCode int)

LogMetric will log the given metric to the DynamoDB

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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