Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseWriter ¶
type ResponseWriter interface { // WriteResponse takes in the JSON response // which is either a single object, or a batch. // When technology goes ahead of its time and implements // generic methods, this interface should be changed // https://github.com/golang/go/issues/49085 WriteResponse(response any) }
ResponseWriter outlines the interface any response writer needs to implement
Click to show internal directories.
Click to hide internal directories.