api

package
v0.0.0-...-a8acacb Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

README

API

There are 2 main APIs: an HTTP API for csadmin/ryo, and

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzusaQ

type AzusaQ struct {
	Networks     map[string]central.Peer
	CentralToken util.Token
}

type AzusaS

type AzusaS struct{}

type CanNetwork

type CanNetwork struct {
	PeerName        string
	CanSeeElementOf []string
}

type GenerateQ

type GenerateQ struct {
	CNNs []string
}

type GenerateS

type GenerateS struct {
	PubKeys []wgtypes.Key
}

type HAddTokenQ

type HAddTokenQ struct {
	Overwrite bool
	Hash      *util.TokenHash
	Name      string
	CanPull   map[string]string
	CanPush   map[string]CanNetwork
}

type HPushQ

type HPushQ struct {
	CNN      string
	PeerName string
	Peer     central.Peer
}

type HRemoveTokenQ

type HRemoveTokenQ struct {
	Hash *util.TokenHash
}

type KeepaliveQ

type KeepaliveQ []byte

type KeepaliveS

type KeepaliveS struct{}

type PushQ

type PushQ struct {
	CC central.Config
}

type PushS

type PushS struct {
	PubKeys map[string]wgtypes.Key
}

type SRV

type SRV struct {
	NetworkName string
	PeerName    string

	central.SRV
}

type SRVUpdateQ

type SRVUpdateQ struct {
	CentralToken util.Token
	SRVs         []SRV
}

type SRVUpdateS

type SRVUpdateS struct{}

type SyncQ

type SyncQ struct {
	CentralToken    util.Token
	KeepaliveSecret []byte
}

type SyncS

type SyncS struct{}

Jump to

Keyboard shortcuts

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