server

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithLimiter

func WithLimiter(dest string, nacosClient nacos.Client, opts utils.Options) server.Option

WithLimiter sets the limiter config from nacos configuration center.

Types

type NacosServerSuite

type NacosServerSuite struct {
	// contains filtered or unexported fields
}

NacosServerSuite nacos server config suite, configure limiter config dynamically from nacos.

func NewSuite

func NewSuite(service string, cli nacos.Client, opts ...utils.Option) *NacosServerSuite

NewSuite service is the destination service.

func (*NacosServerSuite) Options

func (s *NacosServerSuite) Options() []server.Option

Options return a list client.Option

Jump to

Keyboard shortcuts

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