heimdall

package
v0.0.0-...-e46559e Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger = zerolog.Logger
)
View Source
var (
	NewHeimdall = NewHeimdallImpl
)

Functions

This section is empty.

Types

type Heimdall

type Heimdall interface {
	UpdateFromServer() error
	UploadIcon(filename string, data io.ReadCloser) error
	ListIcons() ([]string, error)
}

func NewHeimdallImpl

func NewHeimdallImpl(database database.Database, options options.NoodleOptions) Heimdall

type HeimdallImpl

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

func (*HeimdallImpl) ListIcons

func (i *HeimdallImpl) ListIcons() ([]string, error)

ListIcons implements Heimdall

func (*HeimdallImpl) UpdateFromServer

func (i *HeimdallImpl) UpdateFromServer() error

UpdateFromServer implements Heimdall

func (*HeimdallImpl) UploadIcon

func (i *HeimdallImpl) UploadIcon(filename string, reader io.ReadCloser) error

UploadIcon implements Heimdall

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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