application

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package application binds the database to a single Dogma application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(ctx context.Context, db *sql.DB, id *identitypb.Identity) error

Bind binds the database to the application with the given identity, if it is not already bound to an application.

If the database is bound to an application with the same key, the application's name is updated to match id. It returns an error if the database is bound to an application with a different key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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