dubbo

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDubbo

func InitDubbo(services Services)

func NewCustomLoadBalance

func NewCustomLoadBalance() loadbalance.LoadBalance

func NewTraceIdFilter

func NewTraceIdFilter() filter.Filter

Types

type ClusterWeightedRandomRobinLoadBalance

type ClusterWeightedRandomRobinLoadBalance struct {
}

ClusterWeightedRandomRobinLoadBalance 基于按集群顺序优先的甲醛随机负载均衡策略

func (ClusterWeightedRandomRobinLoadBalance) Select

type Service

type Service struct {
	Name          string
	InterfaceName string
	Interface     interface{}
	Weight        int
}

type Services

type Services struct {
	Consumer []Service
	Provider []Service
}

Jump to

Keyboard shortcuts

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