service

package
v0.0.0-...-d9ed4fb Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	NewService,
)

Functions

func NewService

func NewService(geoRepo GeoRepo,
	c *conf.Config, log klog.CtxLogger) geo.GeoService

Types

type GeoRepo

type GeoRepo interface {
	GetLocation(ctx context.Context) (*geo.Location, error)
}

type Service

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

func (*Service) GetLocation

func (s *Service) GetLocation(ctx context.Context) (*geo.Location, error)

Jump to

Keyboard shortcuts

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