grid-logger

module
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: GPL-3.0

README

grid-logger

POC of a logger with Web3 authentication.

Logic

sequenceDiagram
    participant client
    participant server
    participant logger
    participant app
    Note over client,app: Authentication logic
    client->>client: sig = sign data
    client->>+server: rpc auth_rpc(addr,data,sig)
    server->>-client: resp

    Note over client,app: Logging logic
    app->>logger: pipe fifo
    logger->>server: stream rpc write(logname,user,data)
    opt if client logged
        client->>server: auth_rpc readAndWatch(logname)
        server->>server: tail and follow logs
        server->>client: stream logs
    end


Directories

Path Synopsis
gen
api
api
db

Jump to

Keyboard shortcuts

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