storage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryStorage

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

func New

func New() *MemoryStorage

func (*MemoryStorage) AddTile

func (ms *MemoryStorage) AddTile(tileName string, tile *srtm.SrtmTile) error

func (*MemoryStorage) GetTile

func (ms *MemoryStorage) GetTile(tileName string) (*srtm.SrtmTile, bool)

type TileStorage

type TileStorage interface {
	GetTile(tileName string) (*srtm.SrtmTile, bool)
	AddTile(tileName string, tile *srtm.SrtmTile) error
}

Jump to

Keyboard shortcuts

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