root

package
v0.0.0-...-e24e4fd Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	B  = 1
	KB = 1024
	MB = 1024 * 1024
	GB = 1024 * 1024 * 1024
)
View Source
const DefaultEnforcementPolicyMinTime = 5 * time.Second
View Source
const DefaultKeepAlive = 60 * time.Second
View Source
const DefaultKeepAliveTimeout = 10 * time.Second
View Source
const DefaultMsgSize = 104858000 // 10mb

Variables

View Source
var UncaughtPanicError = "uncaught panic error: %v"

Functions

func NewRoot

func NewRoot() error

func StableRelease

func StableRelease(ctx context.Context) error

Types

type RootCore

type RootCore struct {
	Ctx    context.Context
	Cancel context.CancelFunc
	Core   *core.Core
	S      *grpc.Server
}

Jump to

Keyboard shortcuts

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