Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocalStore ¶
type LocalStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(base string) *LocalStore
func (*LocalStore) ReadFile ¶
func (ls *LocalStore) ReadFile(path, file string) (store.Stream, error)
ReadFile returns a gcode stream from a configured local store.
func (*LocalStore) UploadFile ¶
func (ls *LocalStore) UploadFile(path, file string, r io.ReadCloser) error
type LocalStoreFile ¶
func (*LocalStoreFile) Close ¶
func (lsf *LocalStoreFile) Close() error
func (*LocalStoreFile) Name ¶
func (lsf *LocalStoreFile) Name() string
func (*LocalStoreFile) Pos ¶
func (lsf *LocalStoreFile) Pos() int64
func (*LocalStoreFile) Size ¶
func (lsf *LocalStoreFile) Size() int64
Click to show internal directories.
Click to hide internal directories.