Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LinkConfig ¶
LinkConfig config links
func (LinkConfig) IsFile ¶
func (config LinkConfig) IsFile(uri string) bool
IsFile detects if the url is a file
func (LinkConfig) IsInHost ¶
func (config LinkConfig) IsInHost(uri string) bool
IsInHost returns true if is the same host
type LinkTree ¶
LinkTree tree of links. It respects the link hierarchy
func (*LinkTree) AddLink ¶
AddLink will add a link to itself as child or to its child if it is in the same root e.g. would add /a/b to /a but not /c to /a
Click to show internal directories.
Click to hide internal directories.