ingenext

package module
v0.0.0-...-b40f586 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 6 Imported by: 0

README

Ingenext Safe Version Monitor

Get alerted of all updates to the Ingenext Safe Versions

Running with Github Actions

  • Fork this repo
  • Go to the forked repo's actions settings (Setting > Secrets and variables > Actions)
  • Create a secret WEBHOOK_URL and set it to your webhook's url
  • Go to the Actions tab on the forked repo and enable workflows
  • (OPTIONAL) Adjust the cron job schedule to your liking

Manual usage

  • Run (a built binary or with go run ./cmd/monitor) with the WEBHOOK_URL environment variable set to a discord webhook's url

License

Distributed under the MIT License. See LICENSE for more information.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEmbed

func CreateEmbed(title string, added, removed []string) discord.Embed

func VersionsDiff

func VersionsDiff(cached, latest []string) (added, removed []string)

Types

type VersionHistory

type VersionHistory map[string][]string

func GetVersions

func GetVersions() (VersionHistory, error)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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