fakecallinfo

package
Version: v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: Apache-2.0 Imports: 2 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
	Method string
	User   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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL