endpoint

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package endpoint provides a way to test a HTTP/HTTPS endpoint for a 200 response code. note that this package does not support insecure HTTPS at this time.

Example
endpoint.Validate("http://127.0.0.1:8080")
Output:

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(url string) bool

Validate will submit a web request to test the container service. If a 200 response code is received it will pass and return true. Any other result will fail this validation process.

This is to provided to the user through the up and status commands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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