self

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port           int            `json:"port"`
	StoreDirectory string         `json:"store_directory"`
	Shipper        shipper.Config `json:"shipper"`
	Scribe         scribe.Config  `json:"scribe"`
}

func (*Config) SetDefaults

func (cfg *Config) SetDefaults()

type Logger added in v0.0.10

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

func New

func New(ctx context.Context, cfg map[string]interface{}, logger *zerolog.Logger, dopts ...grpc.DialOption) (*Logger, error)

func NewFromConfig

func NewFromConfig(ctx context.Context, cfg *Config, logger *zerolog.Logger, dopts ...grpc.DialOption) (*Logger, error)

func (*Logger) Log added in v0.0.10

func (l *Logger) Log(d *api.Decision) error

func (*Logger) Shutdown added in v0.0.10

func (l *Logger) Shutdown()

Jump to

Keyboard shortcuts

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