package
5.21.5+incompatible
Repository: https://github.com/sensu/sensu-go.git
Documentation: pkg.go.dev

# Functions

MarshalJSON is a wrapper to serialize proto messages with JSON.
New creates a new Agentd.
NewSession creates a new Session object given the triple of a transport connection, message bus, and store.
UnmarshalJSON is a wrapper to deserialize proto messages with JSON.

# Constants

JSONSerializationHeader is the Content-Type header which indicates JSON serialization.
ProtobufSerializationHeader is the Content-Type header which indicates protobuf serialization.

# Variables

AgentLimiterMiddleware represents the middleware used to limit agent sessions if the entity limit has been reached.
AuthenticationMiddleware represents the middleware used for authentication.
AuthorizationMiddleware represents the middleware used for authorization.
EntityLimiterMiddleware represents the middleware used to add entity limit headers if the entity limit has been reached.

# Structs

Agentd is the backend HTTP API.
Config configures an Agentd.
A Session is a server-side connection between a Sensu backend server and the Sensu agent process via the Sensu transport.
A SessionConfig contains all of the ncessary information to initialize an agent session.

# Interfaces

AuthStore specifies the storage requirements for authentication and authorization.

# Type aliases

MarshalFunc is the function signature for protobuf/JSON marshaling.
Option is a functional option.
UnmarshalFunc is the function signature for protobuf/JSON unmarshaling.