contents

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Register      = "REGISTER"
	DisCover      = "DISCOVER"
	OK            = "OK"
	ALive         = "ALIVE"
	Default       = "DEFAULT"
	ConnectClosed = "CONNECT_CLOSED"
)
View Source
const (
	Json = "json"
	Pb   = "pb"
)

Variables

View Source
var RpcLogger = go_log.DefaultGoLog()

Functions

This section is empty.

Types

type AdditionalMetaKey

type AdditionalMetaKey string
const (
	LostTime AdditionalMetaKey = "lost_time"
	Status   AdditionalMetaKey = "status"
)

func (AdditionalMetaKey) String

func (k AdditionalMetaKey) String() string

type ServiceProtoc

type ServiceProtoc string
const (
	Http  ServiceProtoc = "http"
	Https ServiceProtoc = "https"
	Grpc  ServiceProtoc = "grpc"
)

func (ServiceProtoc) String

func (k ServiceProtoc) String() string

type ServiceStatus

type ServiceStatus string
const (
	Up   ServiceStatus = "UP"
	Down ServiceStatus = "DOWN"
)

func (ServiceStatus) String

func (k ServiceStatus) String() string

Jump to

Keyboard shortcuts

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