Documentation ¶ Index ¶ type API type Service func New(cache cache.EtagAPI, etag skillz.EtagRepository) *Service func (s *Service) Etag(ctx context.Context, path string) (*skillz.Etag, error) func (s *Service) InsertEtag(ctx context.Context, etag *skillz.Etag) error 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 Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.