package
2.2.4+incompatible
Repository: https://github.com/goadesign/examples.git
Documentation: pkg.go.dev
# Functions
AddResumePath returns the URL path to the resume service add HTTP endpoint.
DecodeAddRequest returns a decoder for requests sent to the resume add endpoint.
EncodeAddResponse returns an encoder for responses returned by the resume add endpoint.
EncodeListResponse returns an encoder for responses returned by the resume list endpoint.
ListResumePath returns the URL path to the resume service list HTTP endpoint.
Mount configures the mux to serve the resume endpoints.
MountAddHandler configures the mux to serve the "resume" service "add" endpoint.
MountListHandler configures the mux to serve the "resume" service "list" endpoint.
New instantiates HTTP handlers for all the resume service endpoints using the provided encoder and decoder.
NewAddHandler creates a HTTP handler which loads the HTTP request and calls the "resume" service "add" endpoint.
NewAddResume builds a resume service add endpoint payload.
NewListHandler creates a HTTP handler which loads the HTTP request and calls the "resume" service "list" endpoint.
NewResumeAddDecoder returns a decoder to decode the multipart request for the "resume" service "add" endpoint.
NewStoredResumeResponseCollection builds the HTTP response body from the result of the "list" endpoint of the "resume" service.
ValidateEducationRequestBody runs the validations defined on EducationRequestBody.
ValidateExperienceRequestBody runs the validations defined on ExperienceRequestBody.
ValidateResumeRequestBody runs the validations defined on ResumeRequestBody.
# Structs
EducationRequestBody is used to define fields on request body types.
EducationResponse is used to define fields on response body types.
ExperienceRequestBody is used to define fields on request body types.
ExperienceResponse is used to define fields on response body types.
MountPoint holds information about the mounted endpoints.
ResumeRequestBody is used to define fields on request body types.
Server lists the resume service endpoint HTTP handlers.
StoredResumeResponse is used to define fields on response body types.
# Interfaces
ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the design.
# Type aliases
ResumeAddDecoderFunc is the type to decode multipart request for the "resume" service "add" endpoint.
StoredResumeResponseCollection is the type of the "resume" service "list" endpoint HTTP response body.