package
0.0.34
Repository: https://github.com/cooldogedev/spectrum.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Dial establishes a TCP connection to the specified API service address using the provided token.
NewAPI creates a new API service instance using the provided session.Registry.
NewClient creates a new Client instance using the provided net.Conn.
NewSecretBasedAuthentication creates a new SecretBasedAuthentication instance with the given secret token.

# Structs

API represents a service that enables servers to communicate with the proxy over the TCP protocol.
Client represents a connection to the API service, managing packet reading and writing over an underlying net.Conn.
SecretBasedAuthentication implements the Authentication interface using a secret token for authentication.

# Interfaces

Authentication defines an interface for authentication methods.