Documentation ¶
Index ¶
- func NewMySQLService(ctx context.Context, uri string) (service.Service, error)
- type MySQLService
- func (s *MySQLService) Close(ctx context.Context) error
- func (s *MySQLService) LastInt(ctx context.Context) (int64, error)
- func (s *MySQLService) NextInt(ctx context.Context) (int64, error)
- func (s *MySQLService) SetIncrement(ctx context.Context, i int64) error
- func (s *MySQLService) SetLastInt(ctx context.Context, i int64) error
- func (s *MySQLService) SetOffset(ctx context.Context, i int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MySQLService ¶
func (*MySQLService) SetIncrement ¶
func (s *MySQLService) SetIncrement(ctx context.Context, i int64) error
func (*MySQLService) SetLastInt ¶
func (s *MySQLService) SetLastInt(ctx context.Context, i int64) error
Click to show internal directories.
Click to hide internal directories.