service

package
v1.117.3 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(gc *generator.Config, mc *mapper.Config, gs generator.Generators) *Service

NewService for the different transports.

func (*Service) GenerateIdentifiers

func (s *Service) GenerateIdentifiers(ctx context.Context, application string, count uint64) ([]string, error)

GenerateIdentifiers for service.

func (*Service) MapIdentifiers

func (s *Service) MapIdentifiers(ids []string) ([]string, error)

MapIdentifiers for service.

Jump to

Keyboard shortcuts

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