plugin_option

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type Params

type Params struct {
	fx.In

	Env    *env.Env
	Logger logger.Logger
}

type Repository

type Repository struct {
	Bucket storage.Bucket
}

func (*Repository) Delete

func (r *Repository) Delete(id meta.ID) error

func (*Repository) Find

func (r *Repository) Find(id meta.ID) (entity.PluginOption, error)

func (*Repository) FindAll

func (r *Repository) FindAll() ([]entity.PluginOption, error)

func (*Repository) Upsert

func (r *Repository) Upsert(op entity.PluginOption) error

Jump to

Keyboard shortcuts

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