endpoint

package
v0.0.0-...-aec1c34 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJWTTokenParsingMW

func NewJWTTokenParsingMW(secretKey string) kitep.Middleware

Types

type Endpoints

type Endpoints struct {
	RechargeWalletEndpoint   endpoint.Endpoint
	ListTransactionsEndpoint endpoint.Endpoint
}

Endpoints collects all of the endpoints that compose a order service. It's meant to be used as a helper struct, to collect all of the endpoints into a single parameter.

func New

New returns a Endpoints struct that wraps the provided service, and wires in all of the expected endpoint middlewares

Jump to

Keyboard shortcuts

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