Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFontNotFound = errors.New("font not found")
Functions ¶
This section is empty.
Types ¶
type FirebaseFontStorage ¶
type FirebaseFontStorage struct {
// contains filtered or unexported fields
}
FirebaseFontStorage is a font storage realisation with Firebase as database
func NewFirebaseFontStorage ¶
func NewFirebaseFontStorage() (FirebaseFontStorage, error)
NewFirebaseFontStorage connect to Firebase and return instance of font storage
func (FirebaseFontStorage) Get ¶
func (stor FirebaseFontStorage) Get(name string) (figfont.FIGFont, error)
func (FirebaseFontStorage) IsExist ¶
func (stor FirebaseFontStorage) IsExist(name string) (bool, error)
func (FirebaseFontStorage) Names ¶
func (stor FirebaseFontStorage) Names() ([]string, error)
Click to show internal directories.
Click to hide internal directories.