simple

package
v0.1.75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Code generated by github.com/pace/bricks DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestHandler

func GetTestHandler(service Service) http.Handler

GetTestHandler handles request/response marshaling and validation for

Get /beta/test

func Router

func Router(service Service) *mux.Router

Router implements: PACE Payment API

Welcome to the PACE Payment API documentation. This API is responsible for managing payment methods for users as well as authorizing payments on behalf of PACE services.

Types

type GetTestRequest

type GetTestRequest struct {
	Request *http.Request `valid:"-"`
}

GetTestRequest is a standard http.Request extended with the un-marshaled content object

type GetTestResponseWriter

type GetTestResponseWriter interface {
	http.ResponseWriter
	OK()
}

GetTestResponseWriter is a standard http.ResponseWriter extended with methods to generate the respective responses easily

type Service

type Service interface {
	// GetTest Test
	GetTest(context.Context, GetTestResponseWriter, *GetTestRequest) error
}

Service interface for all handlers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL