providers

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package providers contains a set of builtin providers for Zero.

These are "weak" providers, so local providers will override them, unless selected explicitly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultErrorHandler

func DefaultErrorHandler() zero.ErrorHandler

DefaultErrorHandler for otherwise unhandled errors.

The response will be JSON in the form:

{
  "error": "error message",
  "code": code
}

Types

This section is empty.

Directories

Path Synopsis
Package leases provides an API for acquiring and releasing leases.
Package leases provides an API for acquiring and releasing leases.
Package logging contains providers for common loggers.
Package logging contains providers for common loggers.
Package sql contains types and providers for connecting to and migrating SQL databases.
Package sql contains types and providers for connecting to and migrating SQL databases.

Jump to

Keyboard shortcuts

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