core

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckMeta

type CheckMeta struct {
	LastCheckTime *atomic.Int64
	NextCheckTime *atomic.Int64

	Disable *atomic.Bool
	// contains filtered or unexported fields
}

CheckMeta ...

type Client

type Client struct {
	AppName string
	AppEnvi string
	IP      string
	Port    string
	// Configuration captured by the configuration center
	AppConfiguration *structs.AppConfiguration
	// Service nodes: An app can register multiple service nodes
	ServiceNodes map[*structs.ServiceNode]*CheckMeta
}

Client represents a service node registered to agent/proxy

type Engine

type Engine struct {
	jupiter.Application
	// contains filtered or unexported fields
}

Engine engine

func NewEngine

func NewEngine() *Engine

NewEngine new the engine

Jump to

Keyboard shortcuts

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