server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIKey      string
	ADTHost     string
	ADTClient   string
	ADTUsername string
	ADTPassword string
	Verbose     bool
	Quiet       bool
}

Config represents the application configuration

type RestServer

type RestServer struct {
	// contains filtered or unexported fields
}

RestServer handles REST API requests with CLI feature parity (no AI)

func NewRestServer

func NewRestServer(config *Config, logger *zap.Logger, adtClient types.ADTClient) *RestServer

NewRestServer creates a new REST server instance with ADT client

func (*RestServer) Start

func (rs *RestServer) Start(port string)

Start starts the REST server

Jump to

Keyboard shortcuts

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