Files
llamactl/server/cmd/llamactl.go
2025-07-17 21:26:49 +02:00

21 lines
458 B
Go

package main
import (
"fmt"
llamactl "llamactl/pkg"
"net/http"
)
// @title llamactl API
// @version 1.0
// @description llamactl is a control server for managing Llama Server instances.
// @license.name MIT License
// @license.url https://opensource.org/license/mit/
// @basePath /api/v1
func main() {
r := llamactl.SetupRouter()
// Start the server with the router
fmt.Println("Starting llamactl on port 8080...")
http.ListenAndServe(":8080", r)
}