storage

package
v0.0.0-...-abeb4b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageTask

type StorageTask struct {
	// contains filtered or unexported fields
}

func NewStorageTask

func NewStorageTask(db *mongo.Database) *StorageTask

func (*StorageTask) ReadTask

func (s *StorageTask) ReadTask(ctx context.Context, id string) (*model.Task, error)

type StorageTemplate

type StorageTemplate struct {
	// contains filtered or unexported fields
}

func NewStorageTemplate

func NewStorageTemplate(db *mongo.Database) *StorageTemplate

func (*StorageTemplate) ReadTemplate

func (s *StorageTemplate) ReadTemplate(ctx context.Context, name string) (*model.Template, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL