package
0.0.0-20211102140413-9eb21d342b30
Repository: https://github.com/code-cord/cc.core.server.git
Documentation: pkg.go.dev
# Functions
ParseJSONRequest parses JSON encoded http request body.
ParseURLRequest parses URL encoded http request.
ServerAuthMiddleware represents middleware func to check access to the server-side operations.
StreamAuthMiddleware represents middleware func to check access to the stream operations.
UpgradeRequestToSSE upgrades existing HTTP request to SSE.
WriteJSONResponse writes JSON encoded body to http response.
# Variables
Request error.
Server error.
Server error.
Custom error (aka unexpected error).
Stream error.
Stream error.
Server error.
Stream error.
Server error.
Request error.
Request error.
Stream error.
Server error.
Request error.
Stream error.
Server error.
Server error.
Server error.
# Structs
Error represents generic model for error.
ParticipantCtxData represents participant context data.
RequestParamErrDetails describes request param error details.
# Interfaces
QueryBuilder represents query builder interface.
Validator represents validator interface.
# Type aliases
ContextKey represents context key type.