repo

package
v0.0.0-...-7fad99f Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookmarkRepo

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

func NewBookmarkRepo

func NewBookmarkRepo(client *clientv3.Client) *BookmarkRepo

func (*BookmarkRepo) Save

func (r *BookmarkRepo) Save(ctx context.Context, bookmark *domain.Bookmark, sub *domain.Subscription) error

type SubscriptionRepo

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

func NewSubscriptionRepo

func NewSubscriptionRepo(client *clientv3.Client) *SubscriptionRepo

func (*SubscriptionRepo) Save

func (r *SubscriptionRepo) Save(ctx context.Context, subscription *domain.Subscription) error

Jump to

Keyboard shortcuts

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