fakecallinfo

package
v2.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCallInfo

type FakeCallInfo struct {
	Remote string
	User   string
	Txt    string
	Html   string
}

FakeCallInfo gives a fake Callinfo usable in callinfo

func (*FakeCallInfo) HTML

func (fci *FakeCallInfo) HTML() template.HTML

HTML returns the html.

func (*FakeCallInfo) RemoteAddr

func (fci *FakeCallInfo) RemoteAddr() string

RemoteAddr returns the remote address.

func (*FakeCallInfo) Text

func (fci *FakeCallInfo) Text() string

Text returns the text.

func (*FakeCallInfo) Username

func (fci *FakeCallInfo) Username() string

Username returns the user name.

Jump to

Keyboard shortcuts

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