package
0.3.5
Repository: https://github.com/netrixframework/netrix.git
Documentation: pkg.go.dev

# Functions

NewAPIServer instantiates APIServer.

# Constants

DefaultAddr is the default address of the APIServer.

# Variables

ErrBadResponse is returned when the request did not receive a 2** response.
ErrDestUnknown is returned when a message is asked to be dispatched to an unknown replicas.
ErrDuplicateDispatch is returned when a message already sent is being dispatched again.
ErrFailedMarshal is returned when the message could not be marshalled.
ErrResponseReadFail is returned when the response to the request could not be read.
ErrSendFailed is returned when the request could not be created.

# Structs

APIServer implements [types.Service] interface.

# Interfaces

DashboardRouter for handling routes that are specific to the dashboard.