synapse

package
v0.0.0-...-9c90d3e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Alive    = "Alive"
	NotAlive = "NotAlive"
)

constant related to synapse status in redis

Variables

This section is empty.

Functions

func New

func New(redisDB core.RedisDB, logger lumber.Logger, db core.DB) core.SynapseStore

New returns new synapseStore

Types

type Resource

type Resource struct {
	CPU float32
	RAM int64
}

Resource represents resource of synpase

Jump to

Keyboard shortcuts

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