service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClientService

type HttpClientService interface {
	SendRequest(*domain.Request) (*domain.Response, error)
	SaveRequest(*domain.Request) error
	DeleteRequest(string) error
	GetSavedRequests() ([]*domain.Request, error)
}

func NewHttpClientService

func NewHttpClientService(requestRepo *database.Database) HttpClientService

type ServerService

type ServerService interface {
	StartServer(path string, port string, updateChan chan UIEvent) error
	StopServer() error
}

func NewServerService

func NewServerService() ServerService

type UIEvent

type UIEvent struct {
	Type    string
	Message string
}

Jump to

Keyboard shortcuts

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