configure

package
v0.0.0-...-834fbee Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package configure helper package for installing and configuring application needs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(consulClient *consul.Client, service, metricsHostPort string) error

RegisterService registration of service in the Consul.

func RunDebugMux

func RunDebugMux(ctx context.Context, address string)

func RunGrpcWebServer

func RunGrpcWebServer(ctx context.Context, s *grpc.Server, listenAddress string, allowedHeaders []string)

RunGrpcWebServer run grpc-web server.

func SetupPostgres

func SetupPostgres(s *settings.Settings) *sql.DB

SetupPostgres setup connect to postgres.

Types

This section is empty.

Jump to

Keyboard shortcuts

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