logshow

package
v0.0.0-...-e9e6038 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogC = cache.New(1*time.Minute, 1*time.Minute)

LogC log cache queue

Functions

func StartWorker

func StartWorker(port int)

StartWorker log show

Types

type LogQueue

type LogQueue struct {
	sync.Mutex
	// contains filtered or unexported fields
}

LogQueue for deploy job show log 最大 100 个消息的队列

func (*LogQueue) Pop

func (lq *LogQueue) Pop() [][]byte

Pop as many as message

Jump to

Keyboard shortcuts

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