Documentation ¶
Index ¶
- Variables
- type Config
- type Store
- func (s *Store) Add(ctx context.Context, source *v1.Link) (*v1.Link, error)
- func (s *Store) Delete(ctx context.Context, id string) error
- func (s *Store) Get(ctx context.Context, id string) (*v1.Link, error)
- func (s *Store) List(ctx context.Context, params *types.FilterLink) (*v1.Links, error)
- func (s *Store) Update(_ context.Context, _ *v1.Link) (*v1.Link, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWrite = fmt.Errorf("error write to MongoDB")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { URI string // contains filtered or unexported fields }
Config - config
Click to show internal directories.
Click to hide internal directories.