callmgr

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(in *http.Request) (out *http.Response, err error)

func DoQ

func DoQ(q string, in *http.Request) (out *http.Response, err error)

func EncQ added in v0.0.3

func EncQ(q string, in *http.Request) (err error)

func SimpleEncQ added in v0.0.3

func SimpleEncQ(q string, i interface{}) error

Types

type Caller added in v0.0.5

type Caller interface {
	Do(q string, in *http.Request) (out *http.Response, err error)
	Enc(q string, in *http.Request) (err error)
}

type NatsCaller added in v0.0.5

type NatsCaller struct{}

func (*NatsCaller) DoQ added in v0.0.5

func (n *NatsCaller) DoQ(q string, in *http.Request) (out *http.Response, err error)

func (*NatsCaller) EncQ added in v0.0.5

func (n *NatsCaller) EncQ(q string, in *http.Request) (err error)

type RedisCaller added in v0.0.5

type RedisCaller struct{}

func (*RedisCaller) DoQ added in v0.0.5

func (r *RedisCaller) DoQ(q string, in *http.Request) (out *http.Response, err error)

func (*RedisCaller) EncQ added in v0.0.5

func (r *RedisCaller) EncQ(q string, in *http.Request) (err error)

Jump to

Keyboard shortcuts

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