metadata

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Metadata Service. Application layer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	MetaStore *meta_store.MetaStore
}

func New

func New(store *meta_store.MetaStore) (*Service, error)

func (*Service) Get

func (r *Service) Get(ctx context.Context, hash string) (*v1.Meta, error)

func (*Service) Set

func (r *Service) Set(ctx context.Context, url string) (*v1.Meta, error)

Jump to

Keyboard shortcuts

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