Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-healthchecks Build Status GoDoc Go Report Card

Simple http client api for healthchecks.io

Installation

go get -u github.com/frozzare/go-healthchecks

Example

package main

import (
	"context"
	"log"

	"github.com/frozzare/go-healthchecks"
)

func main() {
	client := healthchecks.NewClient(nil)

	err := client.Success(context.Background(), "your-uuid-here")

	if err != nil {
		log.Fatal(err)
	}

	err = client.Fail(context.Background(), "your-uuid-here")

	if err != nil {
		log.Fatal(err)
	}
}

License

MIT © Fredrik Forsmo

About

Simple http client api for healthchecks.io

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages