package
0.2.1
Repository: https://github.com/inoxlang/inox.git
Documentation: pkg.go.dev

# README

Project Server Package

This package contains the code for the Inox Project Server. The Project Server is basically an LSP server with extra features:

Subpackages:

  • jsonrpc
  • logs
  • lsp: language-agnostic logic & types

Architecture

Current (temporary)

graph TB

Spawner(inoxd or user) --> |$ inox project-server -config='...'| InoxBinary


subgraph InoxBinary[Inox Binary]
    direction TB

    ProjectServer
    NodeAgent


    ProjectServer --> |asks to deploy/stop apps| NodeAgent

    NodeAgent --> InoxRuntime1
    NodeAgent --> InoxRuntime2

end

ProjectServer[Project Server] --> |stores data in| ProjectsDir
InoxRuntime1[Inox Runtime - App 1] --> |stores data in| ProdDir
InoxRuntime2[Inox Runtime - App 2] --> |stores data in| ProdDir


ProjectsDir(/var/lib/inoxd/projects)
ProdDir(/var/lib/inoxd/prod)

The next version is way more secure and resilient.

Next

In this version every important component runs in a separate inox process.

graph TB

Inoxd(inoxd) --> |$ inox project-server -config='...'| ProjectServer
Inoxd --> |spawns| NodeAgent
NodeAgent("Node Agent \n [uses cgroups]") --> |creates process| DeployedApp1(Deployed Application 1)
NodeAgent --> |creates process| DeployedApp2(Deployed Application 2)
DeployedApp1 --> |stores data in| ProdDir
DeployedApp2 --> |stores data in| ProdDir


ProjectServer[Project Server] --> |stores data in| ProjectsDir
ProjectServer --> |asks to deploy/stop apps| NodeAgent

ProjectsDir(/var/lib/inoxd/projects)
ProdDir(/var/lib/inoxd/prod)

The next version may be slightly different from what is planned here.

# Packages

No description provided by the author
No description provided by the author
code gen by methods_gen_test.go, do not edit!.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
NewFilesystem creates a new Filesystem with a persistsed filesystem and a filesystem for storing the state of unsave documents.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
POST_DONE_DEBUGGED_PROGRAM_DELAY
No description provided by the author
we set the timeout to a small value so that: - inactive file states are garbage collected quickly - users do not have too wait long to retry an upload if they encountered an error.
No description provided by the author
No description provided by the author
No description provided by the author
REMOVE_UNUSED_CACHE_ENTRY_TIMEOUT
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Filesystem is a filesystem that stores the unsaved documents in a separate filesystem.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author