mmclogd

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOGA          = "dmesg.txt"
	LOGB          = "dmesg2.txt"
	ENABLE        = "/tmp/mmclog_enable"
	MAXLEN        = 4096
	MAXMSG        = 50000
	MAXSIZE int64 = 512 * 1024 * 1024
	MMCDIR        = "/mnt"
)
View Source
const (
	MaxEpollEvents = 32
	KB             = 1024 * 64
)

Variables

This section is empty.

Functions

func LogDmesg

func LogDmesg(n int) error

Types

type Command

type Command struct {
	Info
	Init func()
	// contains filtered or unexported fields
}

func (*Command) Apropos

func (*Command) Apropos() lang.Alt

func (*Command) Close

func (c *Command) Close() error

func (*Command) Kind

func (*Command) Kind() cmd.Kind

func (*Command) Main

func (c *Command) Main(...string) error

func (*Command) Man

func (*Command) Man() lang.Alt

func (*Command) String

func (*Command) String() string

func (*Command) Usage

func (*Command) Usage() string

type FileInfo

type FileInfo struct {
	Name string
	Exst bool
	Size int64
	SeqN int64
}

type Info

type Info struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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