base

package
v0.0.0-...-dd21589 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseApp

type BaseApp struct {
	AppName     string
	ServiceName string
	ServerHost  string
	ServerPort  uint64
	EtcdClient  *clientv3.Client
}

func NewBaseApp

func NewBaseApp(p *BaseParam) BaseApp

func (*BaseApp) Deregister

func (a *BaseApp) Deregister()

func (*BaseApp) Register

func (a *BaseApp) Register()

type BaseParam

type BaseParam struct {
	AppName     string
	ServiceName string
	ServerHost  string
	ServerPort  uint64
	EtcdAddress string
}

Jump to

Keyboard shortcuts

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