config

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func (*Database) Flags

func (x *Database) Flags() []cli.Flag

func (*Database) New

func (x *Database) New(ctx context.Context) (interfaces.Database, func(), error)

type Logger

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

func (*Logger) Configure

func (x *Logger) Configure() (func(), error)

Configure sets up logger and returns closer function and error. You can call closer even if error is not nil.

func (*Logger) Flags

func (x *Logger) Flags() []cli.Flag

type Policy

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

func (*Policy) CoreOption added in v0.2.1

func (x *Policy) CoreOption(ctx context.Context) ([]chain.Option, error)

func (*Policy) Flags

func (x *Policy) Flags() []cli.Flag

func (*Policy) Load

func (x *Policy) Load(ctx context.Context, pkgName string) (*policy.Client, error)

func (*Policy) Path

func (x *Policy) Path() string

func (*Policy) Print

func (x *Policy) Print() bool

type Sentry

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

func (*Sentry) Configure

func (x *Sentry) Configure(ctx context.Context) (func(), error)

func (*Sentry) Flags

func (x *Sentry) Flags() []cli.Flag

Jump to

Keyboard shortcuts

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