apiclients

package
v0.0.0-...-9518a5e Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package apiclients provides a series of HTTP handlers for managing service API clients.

Index

Constants

View Source
const (
	// APIClientIDURIParamKey is used for referring to API client IDs in router params.
	APIClientIDURIParamKey = "apiClientID"
)

Variables

View Source
var (
	// Providers are what we provide for dependency injection.
	Providers = wire.NewSet(
		ProvideConfig,
		ProvideAPIClientsService,
	)
)

Functions

func ProvideAPIClientsService

func ProvideAPIClientsService(
	logger logging.Logger,
	clientDataManager types.APIClientDataManager,
	userDataManager types.UserDataManager,
	authenticator authentication.Authenticator,
	encoderDecoder encoding.ServerEncoderDecoder,
	counterProvider metrics.UnitCounterProvider,
	routeParamManager routing.RouteParamManager,
	cfg *config,
) types.APIClientDataService

ProvideAPIClientsService builds a new APIClientsService.

func ProvideConfig

func ProvideConfig(cfg *authservice.Config) *config

ProvideConfig converts an auth config to a local config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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