api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

file: internal/api/logs_explorer.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRoutes

func SetupRoutes() *mux.Router

SetupRoutes returns a configured router.

func SetupToolsRoutes

func SetupToolsRoutes(r *mux.Router)

func StartAPIServer

func StartAPIServer()

StartAPIServer starts the GoUp API server.

Types

type LogFileInfo

type LogFileInfo struct {
	Domain    string `json:"domain"`
	Plugin    string `json:"plugin,omitempty"`
	Year      int    `json:"year"`
	Month     int    `json:"month"`
	Day       int    `json:"day"`
	FileName  string `json:"file_name"`
	SizeBytes int64  `json:"size_bytes"`
	ModTime   int64  `json:"mod_time_unix"`
}

LogFileInfo holds data about a single log file.

type PluginResponse

type PluginResponse struct {
	Name    string `json:"name"`
	Enabled bool   `json:"enabled"`
}

Jump to

Keyboard shortcuts

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