Documentation ¶
Index ¶
- type Image
- type ImageService
- type Six910ImageService
- func (c *Six910ImageService) AddImage(name string, fileData []byte) bool
- func (c *Six910ImageService) DeleteImage(name string) bool
- func (c *Six910ImageService) GetImageList() *[]Image
- func (c *Six910ImageService) GetImagePath(imageName string) string
- func (c *Six910ImageService) GetNew() ImageService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageService ¶
type ImageService interface { AddImage(name string, fileData []byte) bool GetImagePath(imageName string) string GetImageList() *[]Image DeleteImage(name string) bool }
ImageService ImageService
type Six910ImageService ¶
type Six910ImageService struct { Store ds.JSONDatastore Log *lg.Logger ImagePath string ImageFullPath string }
Six910ImageService Six910ImageService
func (*Six910ImageService) AddImage ¶
func (c *Six910ImageService) AddImage(name string, fileData []byte) bool
AddImage AddImage
func (*Six910ImageService) DeleteImage ¶
func (c *Six910ImageService) DeleteImage(name string) bool
DeleteImage DeleteImage
func (*Six910ImageService) GetImageList ¶
func (c *Six910ImageService) GetImageList() *[]Image
GetImageList GetImageList
func (*Six910ImageService) GetImagePath ¶
func (c *Six910ImageService) GetImagePath(imageName string) string
GetImagePath GetImagePath
func (*Six910ImageService) GetNew ¶
func (c *Six910ImageService) GetNew() ImageService
GetNew GetNew
Click to show internal directories.
Click to hide internal directories.