Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewLedgerMiddleware), fx.Provide(func() Locker { return NewInMemoryLocker() }), )
Functions ¶
func Log ¶ added in v1.0.4
func Log() gin.HandlerFunc
func Transaction ¶ added in v1.8.0
Types ¶
type InMemoryLocker ¶ added in v1.8.1
type InMemoryLocker struct {
// contains filtered or unexported fields
}
func NewInMemoryLocker ¶ added in v1.8.1
func NewInMemoryLocker() *InMemoryLocker
type LedgerMiddleware ¶
type LedgerMiddleware struct {
// contains filtered or unexported fields
}
func NewLedgerMiddleware ¶
func NewLedgerMiddleware(resolver *ledger.Resolver) LedgerMiddleware
func (*LedgerMiddleware) LedgerMiddleware ¶
func (m *LedgerMiddleware) LedgerMiddleware() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.