api

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket []BucketEntry

Represent an array of request entries.

type BucketEntry

type BucketEntry struct {
	Id       string            `json:"id"`
	BucketId string            `json:"bucket_id"`
	Method   string            `json:"method"`
	Path     string            `json:"path"`
	IP       string            `json:"ip"`
	Time     string            `json:"time"`
	Headers  map[string]string `json:"headers"`
	Body     string            `json:"data"`
}

Represent a request entry.

type DatabaseProvider

type DatabaseProvider uint16
const (
	REDIS DatabaseProvider = 0
)

Represent different database providers.

Jump to

Keyboard shortcuts

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