Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ITrans ¶
type ITrans interface { // Start transaction Begin(ctx context.Context) (interface{}, error) // Submit transaction Commit(ctx context.Context, trans interface{}) error // Rollback transaction Rollback(ctx context.Context, trans interface{}) error }
ITrans - Manage Transaction interface
Click to show internal directories.
Click to hide internal directories.