Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Camera ¶
type Camera struct {
// contains filtered or unexported fields
}
func NewCamera ¶
func NewCamera(option *CameraOption) *Camera
func (*Camera) DevelopPhotos ¶
func (c *Camera) DevelopPhotos()
DevelopPhotos decoding the bin file, load the data
func (*Camera) GetCreateTime ¶
func (*Camera) TakePhotos ¶
func (c *Camera) TakePhotos(p []storage.Photographer, needZip bool)
TakePhotos encoding to bin file, just like 'take photos'
type CameraOption ¶
type CameraOption struct { Open bool `yaml:"Open"` IsZip bool `yaml:"IsZip"` FilePath string `yaml:"FilePath"` SaveTickInterval uint `yaml:"SaveTickInterval"` }
func DefaultOption ¶
func DefaultOption() *CameraOption
Click to show internal directories.
Click to hide internal directories.