fakecallinfo

package
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 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   safehtml.HTML
}

FakeCallInfo gives a fake Callinfo usable in callinfo

func (*FakeCallInfo) HTML

func (fci *FakeCallInfo) HTML() safehtml.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