Documentation ¶
Index ¶
- func NewNullInt64(s int64) sql.NullInt64
- func NewNullString(s string) sql.NullString
- func NewNullTime(t time.Time) sql.NullTime
- type ApplicationStorage
- func (s ApplicationStorage) Application(ctx context.Context, id string) (*gisvs.Application, error)
- func (s ApplicationStorage) Applications(ctx context.Context, sinceID string, limit int) ([]*gisvs.Application, error)
- func (s ApplicationStorage) Delete(ctx context.Context, id string) error
- func (s ApplicationStorage) Store(ctx context.Context, n *gisvs.NewApplication) (*gisvs.Application, error)
- func (s ApplicationStorage) Update(ctx context.Context, u *gisvs.UpdateApplication) (*gisvs.Application, error)
- type FileStorage
- func (s FileStorage) ApplicationFiles(ctx context.Context, applicationID, sinceID string, limit int) ([]*gisvs.File, error)
- func (s *FileStorage) Delete(ctx context.Context, id string) error
- func (s *FileStorage) File(ctx context.Context, id string) (*gisvs.File, error)
- func (s *FileStorage) FileByFileBlobID(ctx context.Context, fileBlobID string) (*gisvs.File, error)
- func (s *FileStorage) Store(ctx context.Context, n *gisvs.NewFile) (*gisvs.File, error)
- type TransformStorage
- type UsageStorage
- func (s *UsageStorage) ApplicationUsages(ctx context.Context, applicationID string, start, end time.Time) ([]*gisvs.Usage, error)
- func (s *UsageStorage) Store(ctx context.Context, n *gisvs.NewUsage) (*gisvs.Usage, error)
- func (s *UsageStorage) Update(ctx context.Context, u *gisvs.UpdateUsage) (*gisvs.Usage, error)
- func (s *UsageStorage) Usage(ctx context.Context, applicationID string, start, end time.Time) (*gisvs.Usage, error)
- func (s *UsageStorage) Usages(ctx context.Context, start, end time.Time) ([]*gisvs.TotalUsage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNullInt64 ¶
func NewNullString ¶
func NewNullString(s string) sql.NullString
Types ¶
type ApplicationStorage ¶
func (ApplicationStorage) Application ¶
func (s ApplicationStorage) Application(ctx context.Context, id string) (*gisvs.Application, error)
func (ApplicationStorage) Applications ¶
func (s ApplicationStorage) Applications(ctx context.Context, sinceID string, limit int) ([]*gisvs.Application, error)
func (ApplicationStorage) Delete ¶
func (s ApplicationStorage) Delete(ctx context.Context, id string) error
func (ApplicationStorage) Store ¶
func (s ApplicationStorage) Store(ctx context.Context, n *gisvs.NewApplication) (*gisvs.Application, error)
func (ApplicationStorage) Update ¶
func (s ApplicationStorage) Update(ctx context.Context, u *gisvs.UpdateApplication) (*gisvs.Application, error)
type FileStorage ¶
func (FileStorage) ApplicationFiles ¶
func (*FileStorage) FileByFileBlobID ¶
type TransformStorage ¶
func (*TransformStorage) Store ¶
func (s *TransformStorage) Store(ctx context.Context, n *gisvs.NewTransformation) (*gisvs.Transformation, error)
type UsageStorage ¶
func (*UsageStorage) ApplicationUsages ¶
func (*UsageStorage) Update ¶
func (s *UsageStorage) Update(ctx context.Context, u *gisvs.UpdateUsage) (*gisvs.Usage, error)
func (*UsageStorage) Usages ¶
func (s *UsageStorage) Usages(ctx context.Context, start, end time.Time) ([]*gisvs.TotalUsage, error)
Click to show internal directories.
Click to hide internal directories.