etag

package
v0.0.14-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	Etag(ctx context.Context, path string) (*skillz.Etag, error)
	InsertEtag(ctx context.Context, etag *skillz.Etag) error
}

type Service

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

func New

func New(cache cache.EtagAPI, etag skillz.EtagRepository) *Service

func (*Service) Etag

func (s *Service) Etag(ctx context.Context, path string) (*skillz.Etag, error)

func (*Service) InsertEtag

func (s *Service) InsertEtag(ctx context.Context, etag *skillz.Etag) error

Jump to

Keyboard shortcuts

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