go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/callinfo/fakecallinfo Index | Files

package fakecallinfo

import "gopkg.in/src-d/go-vitess.v1/vt/callinfo/fakecallinfo"

Index

Package Files

fakecallinfo.go

type FakeCallInfo Uses

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

FakeCallInfo gives a fake Callinfo usable in callinfo

func (*FakeCallInfo) HTML Uses

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

HTML returns the html.

func (*FakeCallInfo) RemoteAddr Uses

func (fci *FakeCallInfo) RemoteAddr() string

RemoteAddr returns the remote address.

func (*FakeCallInfo) Text Uses

func (fci *FakeCallInfo) Text() string

Text returns the text.

func (*FakeCallInfo) Username Uses

func (fci *FakeCallInfo) Username() string

Username returns the user name.

Package fakecallinfo imports 2 packages (graph). Updated 2019-06-13. Refresh now. Tools for package owners.