Documentation ¶
Index ¶
Constants ¶
View Source
const HotPluginGlobalVar = "ControllerBusHotPlugin"
HotPluginGlobalVar is the global var to load.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadedPlugin ¶
type LoadedPlugin struct { hot_plugin.HotPlugin hot_plugin.HotResolver 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 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.