client

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 11 Imported by: 4

Documentation

Overview

Package client provides HTTP clients for accessing remote services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx *b.Context, spec m.Map, addr string, data map[string][]string) string

func PollStep

func PollStep(ctx *b.Context) (loop bool)

func PostData

func PostData(ctx *b.Context, spec m.Map, url string, pdata io.Reader) string

func PostMessage

func PostMessage(ctx *b.Context, spec m.Map, msg *b.Message) string

func SendData

func SendData(ctx *b.Context, spec m.Map, msg b.Message) bool

func SendMessage

func SendMessage(ctx *b.Context, spec m.Map, msg b.Message) bool

func SetAuthentication

func SetAuthentication(ctx *b.Context, spec m.Map, req *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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