package
1.0.4
Repository: https://github.com/masnax/microclustertest.git
Documentation: pkg.go.dev

# Functions

NewEndpoints aggregates the given endpoints so we can manage them from one source.
NewNetwork assigns an address, certificate, and server to the Network.
NewSocket returns a Socket struct with no listener attached yet.

# Constants

EndpointControl represents the control endpoint accessible via unix socket.
EndpointNetwork represents the user endpoint accessible over https (on a different port to the user endpoint).

# Structs

Endpoints represents all listeners and servers for the microcluster daemon REST API.
Network represents an HTTPS listener and its server.
Socket represents a unix socket with a given path.

# Interfaces

Endpoint represents the common methods of an Endpoint.

# Type aliases

EndpointType enumerates the supported endpoints.