Documentation
¶
Overview ¶
Package resource implements virtual resources, which simulate some real-world resources without actually consuming them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRPCTimeout = errors.New("RPC timed out") ErrRPCInternal = errors.New("RPC failed") )
Errors.
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct {
// contains filtered or unexported fields
}
CPU implements app.CPU interface.
type LicenseSvc ¶
type LicenseSvc struct {
// contains filtered or unexported fields
}
LicenseSvc implements app.LicenseSvc interface.
func NewLicenseSvc ¶
func NewLicenseSvc(cfg LicenseSvcConfig) *LicenseSvc
NewLicenseSvc creates and returns new LicenseSvc.
Click to show internal directories.
Click to hide internal directories.