restart

package
v0.0.0-...-19a1b97 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package restart provides a way for a command to restart the bot.

Index

Constants

This section is empty.

Variables

View Source
var C = make(chan bool, 1)

C should be sent a value when the bot should be restarted.

Functions

func Notify

func Notify(c cache.Cache, platforms map[string]base.Platform) error

Notify notifies interested parties that the restart has finished.

func WriteRequester

func WriteRequester(c cache.Cache, platform, channel, id string)

WriteRequester writes information about where the restart was requested from.

Types

This section is empty.

Jump to

Keyboard shortcuts

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