handlers

package
v0.0.0-...-fa3f760 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLog

func CreateLog(w http.ResponseWriter, r *http.Request)

CreateLog handles POST /api/logs

func GetLogs

func GetLogs(w http.ResponseWriter, r *http.Request)

GetLogs handles GET /api/logs with optional filters

func GetServers

func GetServers(w http.ResponseWriter, r *http.Request)

GetServers handles GET /api/servers

Types

type GetLogsResponse

type GetLogsResponse struct {
	Logs []models.Log `json:"logs"`
}

Jump to

Keyboard shortcuts

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