service

package
v0.0.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Address string = "/ip4/0.0.0.0/tcp/0"

Variables

View Source
var PubSub PS.PubSub

Functions

func AddStoreLog added in v0.0.13

func AddStoreLog(data commonEntity.Data, operation string)

func AddTableRecord added in v0.0.12

func AddTableRecord(data commonEntity.Data)

func ChangeTableRecord added in v0.0.13

func ChangeTableRecord(data commonEntity.Data)

func CreateStoteLogTable added in v0.0.12

func CreateStoteLogTable(data commonEntity.Data)

func DropStoteLogTable added in v0.0.12

func DropStoteLogTable(data commonEntity.Data)

func GetPubSub added in v0.0.12

func GetPubSub() PS.PubSub

func InitDiscovery added in v0.0.4

func InitDiscovery(peerId string) string

func InitLogPublisher added in v0.0.6

func InitLogPublisher(libpubsubTpoic *libpubsub.Topic)

func InitPubSub added in v0.0.12

func InitPubSub() string

func InitStore added in v0.0.6

func InitStore(instanceId string)

func Publish added in v0.0.6

func Publish(topic string, data interface{})

func RenameStoteLogTable added in v0.0.13

func RenameStoteLogTable(data commonEntity.Data)

func StartNewService

func StartNewService()

Types

This section is empty.

Jump to

Keyboard shortcuts

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