Documentation ¶ Index ¶ Variables type Model func NewModel(db *m.Database) Model func (m Model) Get(ctx context.Context, query *parser.GetV2Request) (s3URL string, err error) func (m Model) Set(ctx context.Context, query *parser.GetV2Request, s3URL string) (err error) Constants ¶ This section is empty. Variables ¶ View Source var ErrNoFound = errors.New("cached url not found") Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { // contains filtered or unexported fields } func NewModel ¶ func NewModel(db *m.Database) Model func (Model) Get ¶ func (m Model) Get(ctx context.Context, query *parser.GetV2Request) (s3URL string, err error) func (Model) Set ¶ func (m Model) Set(ctx context.Context, query *parser.GetV2Request, s3URL string) (err error) Source Files ¶ View all Source files cached_export.go model.go model_get.go model_set.go new_model.go Click to show internal directories. Click to hide internal directories.