client

package
v0.2.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DBClient *gorm.DB
)

Functions

func InitConsul

func InitConsul()

func InitDB

func InitDB()

Types

type ConsulRegistry

type ConsulRegistry struct {
}

func NewConsulRegistry

func NewConsulRegistry() *ConsulRegistry

func (*ConsulRegistry) Deregister

func (m *ConsulRegistry) Deregister(info *registry.Info) error

func (*ConsulRegistry) Register

func (m *ConsulRegistry) Register(info *registry.Info) (err error)

Jump to

Keyboard shortcuts

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