base

package
v3.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

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) DoDestroy added in v3.1.1

func (dir *Directory) DoDestroy(doDestroy func())

DoDestroy stop directory

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) IsDestroyed added in v3.1.1

func (dir *Directory) IsDestroyed() bool

IsDestroyed 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