fakecallinfo

package
v3.0.0-rc.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 License: Apache-2.0 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