util

package
v0.0.0-...-5db00e0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeConfigFileWithFlags

func MergeConfigFileWithFlags(file string, flagConf config.Config) (config.Config, error)

MergeConfigFileWithFlags is a util used by server commands that use flags to set Funnel config values. These commands can also take in the path to a Funnel config file. This function ensures that the config gets set up properly. Flag values override values in the provided config file.

func ParseServerAddressFlag

func ParseServerAddressFlag(address string, conf config.Config) (config.Config, error)

ParseServerAddressFlag parses a gRPC server address and sets the relevant fields in the config

Types

This section is empty.

Jump to

Keyboard shortcuts

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