package
0.0.7
Repository: https://github.com/manabie-com/rio.git
Documentation: pkg.go.dev

# Functions

AbortJSON abort with JSON.
NewApp returns new app.
NewApp returns new app with memory stub instead of using database.
Recovery returns a middleware for a given writer that recovers from any panics and calls the provided handle func to handle it.
RequestIDMiddleware adds X-Request-ID value to request, response and save to context variable.
RequestTimeMiddleware logs request time.
SendError sends error.
SendJSON sends JSON.
SendSuccess sends success response.
TODO: This is opinionated solution to register UnwrapContext.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

App defines app interface.
StubRequestParam stub request.

# Type aliases

No description provided by the author