Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultConnMaxLifeTime = time.Hour
View Source
const DefaultMaxIdleConn = 10
View Source
const DefaultMaxOpenConn = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlClient ¶
type MysqlClient struct {
// contains filtered or unexported fields
}
func (*MysqlClient) GetSagaById ¶
func (m *MysqlClient) GetSagaById(ctx context.Context, id string) (*saga.SagaOrchestrator, error)
type StorageClient ¶
type StorageClient interface { }
func NewStorageClient ¶
func NewStorageClient(conf MysqlConfig) (StorageClient, error)
Click to show internal directories.
Click to hide internal directories.