rproxy

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RProxy

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

func New

func New() *RProxy

func (*RProxy) Add

func (r *RProxy) Add(name string, ips []string) error

func (*RProxy) Call

func (r *RProxy) Call(name string, payload []byte, async bool) (Status, []byte)

func (*RProxy) Del

func (r *RProxy) Del(name string) error

type Status

type Status uint32
const (
	StatusOK Status = iota
	StatusAccepted
	StatusNotFound
	StatusError
)

Jump to

Keyboard shortcuts

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