api

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoggingMiddleware

func LoggingMiddleware(svc things.Service, logger *slog.Logger) things.Service

func MetricsMiddleware

func MetricsMiddleware(svc things.Service, counter metrics.Counter, latency metrics.Histogram) things.Service

MetricsMiddleware returns a new metrics middleware wrapper.

Types

This section is empty.

Directories

Path Synopsis
Package grpc contains implementation of Auth service gRPC API.
Package grpc contains implementation of Auth service gRPC API.

Jump to

Keyboard shortcuts

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