initialize

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: GPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCar

func InitCar() *carservice.Client

InitCar to init car service

func InitConfig added in v0.2.0

func InitConfig()

InitConfig to init consul config server

func InitDB

func InitDB() *mongo.Database

InitDB to init database

func InitFlag

func InitFlag() (string, int)

InitFlag to init flag

func InitLogger

func InitLogger()

InitLogger to init logrus

func InitMq

func InitMq() *amqp.Connection

InitMq to init rabbitMQ

func InitRedis added in v0.2.0

func InitRedis() *redis.Client

func InitRegistry added in v0.2.0

func InitRegistry(Port int) (registry.Registry, *registry.Info)

InitRegistry to init consul

func InitTrip

func InitTrip() *tripservice.Client

InitTrip to init trip service

Types

This section is empty.

Jump to

Keyboard shortcuts

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