config

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServer

func CreateServer(args []string, funcs ...Func) (srv *server.Server)

func NewImagor

func NewImagor(
	fs *flag.FlagSet, cb func() (*zap.Logger, bool), funcs ...Func,
) *imagor.Imagor

Types

type CIDRSliceFlag added in v1.2.4

type CIDRSliceFlag []*net.IPNet

CIDRSliceFlag is a flag type which support comma separated CIDR expressions.

func (*CIDRSliceFlag) Get added in v1.2.4

func (c *CIDRSliceFlag) Get() any

func (*CIDRSliceFlag) Set added in v1.2.4

func (s *CIDRSliceFlag) Set(value string) error

func (*CIDRSliceFlag) String added in v1.2.4

func (s *CIDRSliceFlag) String() string

type Func

type Func func(fs *flag.FlagSet, cb func() (logger *zap.Logger, isDebug bool)) imagor.Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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