self

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

func NewFromConfig

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

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()

Jump to

Keyboard shortcuts

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