core

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "DEV"
	BuildDate = ""
)

Build Information, overriden on build

View Source
var (
	DiscordService *discord.Service
	GitHubService  *github.Service
)

Services

View Source
var (
	MsgCh types.CoreMsgCh
)

Functions

func Info

func Info(reply *types.InfoReply) error

Info returns information about the current running thor core and services

func Ping

func Ping() error

Ping does nothing, can be used to check if core is up and response time

func ProcessMsg

func ProcessMsg(msg types.CoreMsg)

func Start

func Start()

Start starts the core T.H.O.R. process

Types

type ThorCore

type ThorCore struct{}

ThorCore is

Directories

Path Synopsis
Package types exposes types for the services to communicate with the core
Package types exposes types for the services to communicate with the core

Jump to

Keyboard shortcuts

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