Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status string

    Status describes the status of a relation.

    const (
    	// Joined is the normal status for a healthy, alive relation.
    	Joined Status = "joined"
    
    	// Broken is the status for when a relation life goes to Dead.
    	Broken Status = "broken"
    
    	// Suspended is used to signify that a relation is temporarily broken pending
    	// action to resume it.
    	Suspended Status = "suspended"
    
    	// Error is used to signify that the relation is in an error state.
    	Error Status = "error"
    )

    func (Status) String

    func (s Status) String() string

    Source Files