Documentation ¶
Index ¶
- func BuildOutputOCPFail(response http.ResponseWriter, format string, person Person)
- func BuildOutputOCPSuccess(response http.ResponseWriter, formatter PersonFormatter, person Person)
- func DeleteUserHandlerV1(resp http.ResponseWriter, req *http.Request)
- func DeleteUserHandlerV2(resp http.ResponseWriter, req *http.Request)
- func GetUserHandlerV1(resp http.ResponseWriter, req *http.Request)
- func GetUserHandlerV2(resp http.ResponseWriter, req *http.Request)
- type CSVPersonFormatter
- type JSONPersonFormatter
- type LoadAll
- type LoadPerson
- type Person
- type PersonFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildOutputOCPFail ¶
func BuildOutputOCPFail(response http.ResponseWriter, format string, person Person)
func BuildOutputOCPSuccess ¶
func BuildOutputOCPSuccess(response http.ResponseWriter, formatter PersonFormatter, person Person)
func DeleteUserHandlerV1 ¶
func DeleteUserHandlerV1(resp http.ResponseWriter, req *http.Request)
func DeleteUserHandlerV2 ¶
func DeleteUserHandlerV2(resp http.ResponseWriter, req *http.Request)
func GetUserHandlerV1 ¶
func GetUserHandlerV1(resp http.ResponseWriter, req *http.Request)
func GetUserHandlerV2 ¶
func GetUserHandlerV2(resp http.ResponseWriter, req *http.Request)
Types ¶
type LoadPerson ¶
type LoadPerson struct {
// contains filtered or unexported fields
}
func (*LoadPerson) All ¶
func (loader *LoadPerson) All() ([]Person, error)
Click to show internal directories.
Click to hide internal directories.