Categorygithub.com/go-various/micro
modulepackage
1.0.3
Repository: https://github.com/go-various/micro.git
Documentation: pkg.go.dev

# README

microservice client

##使用方法

  • 实现Service接口
type Service interface {
	GetServers() ([]Server, error)
}

see client_test.go

# Functions

No description provided by the author
InitializeCircuit 初始化熔断器touchOffTimes 熔断触发次数blockHoldingDuration 熔断保持时间.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Client is 类似于工厂方法的实现.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author