protocolwrapper

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILTER = "filter"
)

Variables

This section is empty.

Functions

func GetProtocol

func GetProtocol() protocol.Protocol

func NewMockProtocolFilter

func NewMockProtocolFilter() protocol.Protocol

Types

type FilterInvoker

type FilterInvoker struct {
	// contains filtered or unexported fields
}

func (*FilterInvoker) Destroy

func (fi *FilterInvoker) Destroy()

func (*FilterInvoker) GetUrl

func (fi *FilterInvoker) GetUrl() common.URL

func (*FilterInvoker) Invoke

func (fi *FilterInvoker) Invoke(invocation protocol.Invocation) protocol.Result

func (*FilterInvoker) IsAvailable

func (fi *FilterInvoker) IsAvailable() bool

type ProtocolFilterWrapper

type ProtocolFilterWrapper struct {
	// contains filtered or unexported fields
}

protocol in url decide who ProtocolFilterWrapper.protocol is

func (*ProtocolFilterWrapper) Destroy

func (pfw *ProtocolFilterWrapper) Destroy()

func (*ProtocolFilterWrapper) Export

func (*ProtocolFilterWrapper) Refer

Jump to

Keyboard shortcuts

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