bootstrap

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGRPC

func GetGRPC(_ context.Context, conf *config.Config, handlers *HandlerContainer) (*grpc.Service, error)

func GetRouter

func GetRouter(ctx context.Context, handlers *HandlerContainer) (*mux.Router, error)

Types

type ClientsContainer

type ClientsContainer struct {
	// contains filtered or unexported fields
}

type HandlerContainer

type HandlerContainer struct {
	// contains filtered or unexported fields
}

func GetHandlers

func GetHandlers(services *ServiceContainer) *HandlerContainer

type ServiceContainer

type ServiceContainer struct {
	// contains filtered or unexported fields
}

func GetServices

func GetServices(conf *config.Config) (*ServiceContainer, error)

Jump to

Keyboard shortcuts

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