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

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