Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create200Response ¶ added in v0.0.2
func Create200Response(body models.NewResourseResponse, headers models.CreateResponse200Headers) *models.CreateResponse
func Create400Response ¶ added in v0.0.2
func Create400Response() *models.CreateResponse
func Create404Response ¶ added in v0.0.2
func Create404Response() *models.CreateResponse
Types ¶
type CreateHandler ¶ added in v0.0.2
type CreateHandler interface {
HandleCreate(ctx context.Context, r *models.CreateRequest) (*models.CreateResponse, error)
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(create CreateHandler) *Handler
Click to show internal directories.
Click to hide internal directories.