autoconfig

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormTransactionalManager

type GormTransactionalManager struct {
	Component
	// contains filtered or unexported fields
}

func (*GormTransactionalManager) End

func (this *GormTransactionalManager) End()

func (*GormTransactionalManager) Get

func (this *GormTransactionalManager) Get() *gorm.DB

func (*GormTransactionalManager) PostConstruct

func (this *GormTransactionalManager) PostConstruct() Error

func (*GormTransactionalManager) Start

func (this *GormTransactionalManager) Start(ctx context.Context) *gorm.DB

func (*GormTransactionalManager) Transactional

func (this *GormTransactionalManager) Transactional(ctx context.Context, action func(tx *gorm.DB) Error)

Jump to

Keyboard shortcuts

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