region

package
v1.0.39 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(client *httpClient.Handler) *Handler

func (*Handler) RetrieveAllFromURL

func (h *Handler) RetrieveAllFromURL(ctx context.Context, regionURL string) ([]RegionItem, error)

type RegionItem added in v1.0.0

type RegionItem struct {
	Name      string `json:"name"`
	IsDefault bool   `json:"isDefault"`
	Address   string `json:"address"`
}

Jump to

Keyboard shortcuts

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