engineconfig

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IterateShards

func IterateShards(c *config.Config, f func(*shardconfig.Config))

IterateShards iterates over subsections ["0":"N") (N - "shard_num" value) of "shard" subsection of "storage" section of c, wrap them into shardconfig.Config and passes to f.

Panics if N is not a positive number.

Types

This section is empty.

Directories

Path Synopsis
gc

Jump to

Keyboard shortcuts

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