package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Sep 23, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 16
Opens a new window with list of known importers.
Documentation
¶
Package object provide storage object/link implementation
New creates a new storage object
type Link struct {
Source interface{}
Linkname string
LinkURL string
}
Link represents a link source wrapper
func NewLink(linkname, linkURL string, source interface{}) *Link
NewLink create a link
type Object struct {
Source interface{}
os.FileInfo
}
Object represents abstract storage object
LinkURL returns link URL (absolute path)
Linkname returns a link name
Unwrap unwrap source storage to target pointer
func (o *Object) Wrap(source interface{})
Wrap wraps Source storage object
Source Files
¶
Click to show internal directories.
Click to hide internal directories.