proxy

package
v0.0.0-...-a7a8f6c Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	sync.RWMutex

	Addr string
	// contains filtered or unexported fields
}

Proxy sharding seata proxy The proxy will forward the request to the appropriate backend

func NewProxy

func NewProxy(addr string, prophetAddrs ...string) *Proxy

NewProxy returns seata server proxy

func (*Proxy) Start

func (p *Proxy) Start() error

Start start the proxy

func (*Proxy) Stop

func (p *Proxy) Stop() error

Stop stop the proxy

Jump to

Keyboard shortcuts

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