communicator

package module
v0.0.0-...-bb01e4f Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2015 License: MIT Imports: 3 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

communicator

Package communicator is our http message sending boss

Documentation

Overview

Package communicator is a system for reading and writing to http responses

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Communicator

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

func New

func NewCommunicatorWithCtx

func NewCommunicatorWithCtx(w http.ResponseWriter, ctx interface{}) *Communicator

func (*Communicator) Error

func (c *Communicator) Error(s ...interface{})

func (*Communicator) Errorf

func (c *Communicator) Errorf(form string, s ...interface{})

func (*Communicator) Fail

func (c *Communicator) Fail(s ...interface{})

func (*Communicator) Failf

func (c *Communicator) Failf(form string, s ...interface{})

func (*Communicator) OK

func (c *Communicator) OK(s ...interface{})

func (*Communicator) OKf

func (c *Communicator) OKf(form string, s ...interface{})

func (*Communicator) With

func (c *Communicator) With(d interface{}) *Communicator

Jump to

Keyboard shortcuts

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