storectx

package
v0.0.0-...-ba4ce92 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

internal/storectx/storectx.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetColoniesClient

func GetColoniesClient(ctx context.Context) *colonies.ColoniesClient

func GetConfig

func GetConfig(ctx context.Context) *config.Config

func GetDb

func GetDb(ctx context.Context) (*sql.DB, *store.Queries)

func IsInitialized

func IsInitialized(ctx context.Context) bool

func WithStore

func WithStore(ctx context.Context, db *sql.DB, q *store.Queries, cc *colonies.ColoniesClient, cfg *config.Config) context.Context

WithStore attaches db, queries, colonies client, and config to a context and returns the new context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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