package
Version:
v0.0.0-...-40b4526
Opens a new window with list of versions in this module.
Published: Feb 11, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SetCtxValues extends given context with new instance of context Values.
type Response struct {
Message string `json:"message,omitempty"`
Error string `json:"error,omitempty"`
}
Response encapsulates the details of generic web response used withing the app.
Error is a constructor for generic web error response used by various http endpoints.
Success is a constructor for generic web success response used by various http endpoints.
Values encapsulates the details of the request which will be shared across program
boundaries within the context.
GetCtxValues retrieves instance of context Values out of given context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.