koko

package
v0.0.0-...-539d32a Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: GPL-3.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskKillSession = "kill_session"
)

Variables

View Source
var Version = "unknown"

Functions

func MustJMService

func MustJMService() *service.JMService

func MustLoadValidAccessKey

func MustLoadValidAccessKey() model.AccessKey

func MustRegisterTerminalAccount

func MustRegisterTerminalAccount() (key model.AccessKey)

func MustValidKey

func MustValidKey(key model.AccessKey) model.AccessKey

func NewServer

func NewServer(jmsService *service.JMService) *server

func RunForever

func RunForever(confPath string)

func ValidateRemainReplayFile

func ValidateRemainReplayFile(path string) error

Types

type Koko

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

func (*Koko) Start

func (k *Koko) Start()

func (*Koko) Stop

func (k *Koko) Stop()

type RemainReplay

type RemainReplay struct {
	Id      string // session id
	IsGzip  bool
	Version model.ReplayVersion
}

Jump to

Keyboard shortcuts

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