Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GITHUB = OAuthType{ UrlType: "github", // contains filtered or unexported fields } )
Functions ¶
Types ¶
type Monitor ¶
type Monitor struct { CpuProportion float64 MemProportion float64 // contains filtered or unexported fields }
func NewMonitor ¶
func NewMonitor() *Monitor
func (*Monitor) GetMonitorItemInfo ¶
func (*Monitor) MonitorFunc ¶
func (c *Monitor) MonitorFunc(fs ...func(mi MonitorItemInterface)) *Monitor
func (*Monitor) OpenMonitor ¶
type MonitorItem ¶
type MonitorItem struct {
// contains filtered or unexported fields
}
func (*MonitorItem) GetCpu ¶
func (mi *MonitorItem) GetCpu() float64
func (*MonitorItem) GetMem ¶
func (mi *MonitorItem) GetMem() float64
func (*MonitorItem) GetWeight ¶
func (mi *MonitorItem) GetWeight() int
type MonitorItemInterface ¶
type OAuthConfig ¶
type OAuthConfig struct { OAuthType OAuthType ClientID string ClientSecret string RedirectUrl string }
func (*OAuthConfig) GetTokenAuthUrl ¶
func (o *OAuthConfig) GetTokenAuthUrl(code string) (string, error)
type OAuthInterface ¶
func NewOAuthConfig ¶
type OAuthType ¶
type OAuthType = struct { UrlType string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.