Documentation
      ¶
    
    
  
    
  
    Index ¶
- func C25519pair() (string, string)
 - func Create(apiClient *api.Client, org *api.Organization, regionCode, name string) (*wg.WireGuardState, error)
 - func PruneInvalidPeers(ctx context.Context, apiClient *api.Client) error
 - func StateForOrg(apiClient *api.Client, org *api.Organization, regionCode string, name string, ...) (*wg.WireGuardState, error)
 - type WireGuardStates
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func C25519pair ¶
func Create ¶
func Create(apiClient *api.Client, org *api.Organization, regionCode, name string) (*wg.WireGuardState, error)
func PruneInvalidPeers ¶ added in v0.0.232
func StateForOrg ¶
func StateForOrg(apiClient *api.Client, org *api.Organization, regionCode string, name string, recycle bool) (*wg.WireGuardState, error)
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.