Documentation ¶
Index ¶
Constants ¶
View Source
const PluginSuffix = ".cbus.so"
PluginSuffix is the plugin file suffix.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadedPlugin ¶
type LoadedPlugin struct { cbus_plugin.Plugin cbus_plugin.PluginResolver PluginStat // contains filtered or unexported fields }
LoadedPlugin contains a loaded Go plugin.
type PluginStat ¶
type PluginStat struct {
// contains filtered or unexported fields
}
PluginStat contains plugin file stats.
func NewPluginStat ¶
func NewPluginStat(filePath string) (*PluginStat, error)
NewPluginStat stats a plugin file.
func (*PluginStat) Equal ¶
func (s *PluginStat) Equal(other *PluginStat) bool
Equal compares two plugin stats.
func (*PluginStat) GetBinarySize ¶
func (s *PluginStat) GetBinarySize() int64
GetBinarySize returns the binary size.
func (*PluginStat) GetModificationTime ¶
func (s *PluginStat) GetModificationTime() time.Time
GetModificationTime returns the modification time.
Click to show internal directories.
Click to hide internal directories.