package
0.0.0-20240916134854-020f48ada450
Repository: https://github.com/vpnhouse/api.git
Documentation: pkg.go.dev

# Functions

Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
Defines values for NodeState.
Defines values for NodeState.

# Structs

No description provided by the author
No description provided by the author
ListNodesParams defines parameters for ListNodes.
Node defines model for Node.
NodeRecord defines model for NodeRecord.
PublicKey defines model for PublicKey.
PublicKeyRecord defines model for PublicKeyRecord.
No description provided by the author
No description provided by the author
ServerInterfaceWrapper converts contexts to parameters.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ServerInterface represents all server handlers.

# Type aliases

No description provided by the author
NodeState defines model for NodeState.
RegisterNodeJSONBody defines parameters for RegisterNode.
RegisterNodeJSONRequestBody defines body for RegisterNode for application/json ContentType.
SetNodeAddressJSONBody defines parameters for SetNodeAddress.
SetNodeAddressJSONRequestBody defines body for SetNodeAddress for application/json ContentType.
SetNodeLabelJSONBody defines parameters for SetNodeLabel.
SetNodeLabelJSONRequestBody defines body for SetNodeLabel for application/json ContentType.
UnsetNodeAddressJSONBody defines parameters for UnsetNodeAddress.
UnsetNodeAddressJSONRequestBody defines body for UnsetNodeAddress for application/json ContentType.
UpdateKeyJSONBody defines parameters for UpdateKey.
UpdateKeyJSONRequestBody defines body for UpdateKey for application/json ContentType.
UpdateNodeJSONBody defines parameters for UpdateNode.
UpdateNodeJSONRequestBody defines body for UpdateNode for application/json ContentType.