types

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0, UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EventStoreType string           `toml:"event_store_type" comment:"Type of event store"`
	Params         EventStoreParams `toml:"event_store_params" comment:"Event store parameters"`
}

Config defines the specific event store configuration

func DefaultEventStoreConfig

func DefaultEventStoreConfig() *Config

DefaultEventStoreConfig returns the default event store config

func (*Config) GetParam

func (c *Config) GetParam(name string) any

GetParam fetches the specific config param, if any. Returns nil if the param is not present

type EventStoreParams

type EventStoreParams map[string]any

EventStoreParams defines the arbitrary event store config params

Jump to

Keyboard shortcuts

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