base

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Directory

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

Directory Abstract implementation of Directory: Invoker list returned from this Directory's list method have been filtered by Routers

func NewDirectory

func NewDirectory(url *common.URL) Directory

NewDirectory Create BaseDirectory with URL

func (*Directory) Destroy

func (dir *Directory) Destroy(doDestroy func())

Destroy Destroy

func (*Directory) GetDirectoryUrl

func (dir *Directory) GetDirectoryUrl() *common.URL

GetDirectoryUrl Get URL instance

func (*Directory) GetURL

func (dir *Directory) GetURL() *common.URL

GetURL Get URL

func (*Directory) IsAvailable

func (dir *Directory) IsAvailable() bool

IsAvailable Once directory init finish, it will change to true

func (*Directory) RouterChain

func (dir *Directory) RouterChain() router.Chain

RouterChain Return router chain in directory

func (*Directory) SetRouterChain

func (dir *Directory) SetRouterChain(routerChain router.Chain)

SetRouterChain Set router chain in directory

Jump to

Keyboard shortcuts

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