api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package api contains implementation of AuthN service HTTP API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoggingMiddleware

func LoggingMiddleware(svc authn.Service, logger log.Logger) authn.Service

LoggingMiddleware adds logging facilities to the core service.

func MetricsMiddleware

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

MetricsMiddleware instruments core service by tracking request count and latency.

Types

This section is empty.

Directories

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

Jump to

Keyboard shortcuts

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