eventlog

package
v0.0.0-...-5dbe658 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_defineCfg_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AppEntry

type AppEntry struct {
	Tid     TidTyp `json:"tid"`
	Time    int64  `json:"time"`
	Id      string `json:"id"`
	PkgName string `json:"pkgName"`
	AppName string `json:"appName"`
}

type BaseCollector

type BaseCollector interface {
	Init(service *dbusutil.Service, fn writeEventLogFunc) error
	Collect() error
	Stop() error
}

type EventLog

type EventLog struct {
	Enabled bool
	// contains filtered or unexported fields
}

func (*EventLog) Enable

func (e *EventLog) Enable(enable bool) *dbus.Error

func (*EventLog) GetExportedMethods

func (v *EventLog) GetExportedMethods() dbusutil.ExportedMethods

func (*EventLog) GetInterfaceName

func (e *EventLog) GetInterfaceName() string

type Module

type Module struct {
	*loader.ModuleBase
	// contains filtered or unexported fields
}

func (*Module) GetDependencies

func (m *Module) GetDependencies() []string

func (*Module) Start

func (m *Module) Start() error

func (*Module) Stop

func (m *Module) Stop() error

type SysCfg

type SysCfg struct {
	Develop bool   `protobuf:"varint,1,opt,name=develop,proto3" json:"develop,omitempty"`
	UserExp bool   `protobuf:"varint,2,opt,name=user_exp,json=userExp,proto3" json:"user_exp,omitempty"`
	Apt     uint64 `protobuf:"varint,3,opt,name=apt,proto3" json:"apt,omitempty"`
	// contains filtered or unexported fields
}

save user ref config, apt time, user-exp-enabled, develop-mode

func (*SysCfg) Descriptor deprecated

func (*SysCfg) Descriptor() ([]byte, []int)

Deprecated: Use SysCfg.ProtoReflect.Descriptor instead.

func (*SysCfg) GetApt

func (x *SysCfg) GetApt() uint64

func (*SysCfg) GetDevelop

func (x *SysCfg) GetDevelop() bool

func (*SysCfg) GetUserExp

func (x *SysCfg) GetUserExp() bool

func (*SysCfg) ProtoMessage

func (*SysCfg) ProtoMessage()

func (*SysCfg) ProtoReflect

func (x *SysCfg) ProtoReflect() protoreflect.Message

func (*SysCfg) Reset

func (x *SysCfg) Reset()

func (*SysCfg) String

func (x *SysCfg) String() string

type TidTyp

type TidTyp int
const (
	AppOpenTid  TidTyp = 1000000000
	AppCloseTid TidTyp = 1000000001
)
const (
	ConfigTid TidTyp = 1000600000
)
const (
	SystemBootTid TidTyp = 1000600001
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL