service

package
v1.124.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 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 IsNotFound added in v1.117.5

func IsNotFound(err error) bool

IsNotFound 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