package
0.0.0-20241201040153-f200875f8601
Repository: https://github.com/neuralnexusdev/neuralnexus-api.git
Documentation: pkg.go.dev

# Functions

BadRequest - Send and encode an invalid input problem.
DecodeStruct -- Decode a struct from JSON, XML or Protobuf.
Forbidden -- Send a ForbiddenResponse as JSON or XML.
InternalServerError -- Send an InternalServerErrorResponse as JSON or XML.
NewProblem -- Create a new Problem.
NoContent -- Send a no content response as JSON or XML.
NotFound -- Send a NotFoundResponse as JSON or XML.
SendStruct -- Send a struct as JSON, XML or Protobuf.
StructOK -- Send a struct as a success response.
Success -- Send a success response as JSON or XML.
Unauthorized -- Send an UnauthorizedResponse as JSON or XML.

# Interfaces

ProtoEncoder -- Interface for encoding a struct as a protobuf message Useful for complex types that don't conform to auto-generated protobuf structs.