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
Click to show internal directories.
Click to hide internal directories.