package
0.0.0-20250109065143-2c4a1334cb04
Repository: https://github.com/retr0h/osapi.git
Documentation: pkg.go.dev

# Functions

RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

# Structs

DNSConfigResponse defines model for DNSConfigResponse.
DNSConfigUpdateRequest defines model for DNSConfigUpdateRequest.
NetworkErrorResponse defines model for network.ErrorResponse.
PingResponse defines model for PingResponse.
PostNetworkPingJSONBody defines parameters for PostNetworkPing.
ServerInterfaceWrapper converts echo contexts to parameters.

# Interfaces

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
ServerInterface represents all server handlers.

# Type aliases

PostNetworkPingJSONRequestBody defines body for PostNetworkPing for application/json ContentType.
PutNetworkDNSJSONRequestBody defines body for PutNetworkDNS for application/json ContentType.