endpoints

package
v0.0.0-...-0014f52 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	Pattern    string
	HandleFunc http.HandlerFunc
	Methods    []string
	Middleware []middleware.EndpointMiddlewareFunc
}

func MakeEndpoints

func MakeEndpoints(service service.Service, mw *middleware.Middleware) []Endpoint

func MakeHealth

func MakeHealth(db *database.Client, rabbitmq rabbitmq.RabbitMQClient, redis *redis.Client) Endpoint

Jump to

Keyboard shortcuts

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