sitemap

package
v0.0.0-...-b846fab Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 11 Imported by: 0

README

Use Case: UC-03 Works with sitemap

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IncorrectResponseCodeError

type IncorrectResponseCodeError struct {
	StatusCode int
	URL        string
}

IncorrectResponseCodeError is an error returned when the response code is not 200.

func (*IncorrectResponseCodeError) Error

type Service

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

func New

func New(log logger.Logger, dataBus mq.MQ) (*Service, error)

func (*Service) Parse

func (s *Service) Parse(ctx context.Context, url string) error

Jump to

Keyboard shortcuts

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