heartbeat

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package heartbeat owns the explicitly authorized live provider diagnostic.

Index

Constants

View Source
const SchemaVersion = "mulgae-provider-heartbeat-result.v1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	ProviderID        string
	CredentialProfile string
}

type Result

type Result struct {
	SchemaVersion          string    `json:"schema_version"`
	CheckedAt              time.Time `json:"checked_at"`
	ProviderID             string    `json:"provider_id"`
	CredentialProfile      string    `json:"credential_profile"`
	Attempted              bool      `json:"attempted"`
	Status                 string    `json:"status"`
	ReasonCode             string    `json:"reason_code"`
	AuthenticationMayOccur bool      `json:"authentication_may_occur"`
	NetworkMayOccur        bool      `json:"network_may_occur"`
	CostMayOccur           bool      `json:"cost_may_occur"`
	RemoteLoggingMayOccur  bool      `json:"remote_logging_may_occur"`
}

func (Result) Validate

func (result Result) Validate() error

Jump to

Keyboard shortcuts

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