Documentation ¶
Index ¶
- func C25519pair() (string, string)
- func Create(apiClient *fly.Client, org *fly.Organization, regionCode, name string) (*wg.WireGuardState, error)
- func PruneInvalidPeers(ctx context.Context, apiClient *fly.Client) error
- func StateForOrg(ctx context.Context, apiClient *fly.Client, org *fly.Organization, ...) (*wg.WireGuardState, error)
- type WireGuardStates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func C25519pair ¶
func Create ¶
func Create(apiClient *fly.Client, org *fly.Organization, regionCode, name string) (*wg.WireGuardState, error)
func PruneInvalidPeers ¶ added in v0.0.232
func StateForOrg ¶
Types ¶
type WireGuardStates ¶ added in v0.0.232
type WireGuardStates map[string]*wg.WireGuardState
func GetWireGuardState ¶ added in v0.0.233
func GetWireGuardState() (WireGuardStates, error)
Click to show internal directories.
Click to hide internal directories.