Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcreteImageFlyweight ¶
type ConcreteImageFlyweight struct {
// contains filtered or unexported fields
}
func (*ConcreteImageFlyweight) Data ¶
func (p *ConcreteImageFlyweight) Data() string
type ImageFlyweight ¶
type ImageFlyweight interface {
Data() string
}
func NewImageFlyweight ¶
func NewImageFlyweight(filename string) ImageFlyweight
type ImageFlyweightFactory ¶
type ImageFlyweightFactory struct {
// contains filtered or unexported fields
}
func GetImageFlyweightFactory ¶
func GetImageFlyweightFactory() *ImageFlyweightFactory
func (*ImageFlyweightFactory) Get ¶
func (p *ImageFlyweightFactory) Get(filename string) ImageFlyweight
type ImageViewer ¶
type ImageViewer struct {
ImageFlyweight
}
func NewImageViewer ¶
func NewImageViewer(filename string) *ImageViewer
func (*ImageViewer) Display ¶
func (p *ImageViewer) Display()
Click to show internal directories.
Click to hide internal directories.