Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileSystemDataSource ¶
func NewFileSystemDataSource(root string, models []asynchronousIO.Bean, newFunctions []func() asynchronousIO.Bean, makeFunctions []func(bean asynchronousIO.Bean, r io.Reader) error, saveFunctions []func(bean asynchronousIO.Bean, w io.Writer) error) asynchronousIO.DataSource
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func (*FileSystem) Delete ¶
func (s *FileSystem) Delete(key asynchronousIO.Key) error
func (*FileSystem) Load ¶
func (s *FileSystem) Load(key asynchronousIO.Key) (asynchronousIO.Bean, error)
func (*FileSystem) Save ¶
func (s *FileSystem) Save(bean asynchronousIO.Bean) error
type Http ¶
type Http struct {
// contains filtered or unexported fields
}
func (*Http) Load ¶
func (s *Http) Load(key asynchronousIO.Key) (asynchronousIO.Bean, error)
Click to show internal directories.
Click to hide internal directories.