service

package
v1.128.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

ErrNotFound for service.

Module for fx.

Functions

func IsNotFoundError

func IsNotFoundError(err error) bool

IsNotFoundError for service.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service for the different transports.

func NewService

func NewService(cfg *migrate.Config, mig migrator.Migrator) *Service

NewService for the different transports.

func (*Service) Migrate

func (s *Service) Migrate(ctx context.Context, db string, version uint64) ([]string, error)

Migrate the database.

Jump to

Keyboard shortcuts

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