miniserver

package
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(cloneName string, connectName string, metaInfoType METAINFOTYPE)

func AddCacheTargetInfo

func AddCacheTargetInfo(connectName string)

func CheckNSetWantedStatus

func CheckNSetWantedStatus()

@TBD

func Cloner

func Cloner(wg *sync.WaitGroup) error

func Count

func Count() int

func Del

func Del(cloneName string)

func InsertNewCloneNCache

func InsertNewCloneNCache(connectName string)

when user add new targetRegion

func RunServer

func RunServer()

Types

type CacheTargetInfo

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

func GetNSet

func GetNSet() *CacheTargetInfo

type METAINFOTYPE

type METAINFOTYPE string
const (
	IMAGEINFO METAINFOTYPE = "imageinfo"
	SPECINFO  METAINFOTYPE = "specinfo"
)

Jump to

Keyboard shortcuts

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