Skip to content

Commit

Permalink
7.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Jan 3, 2020
2 parents 372c7a1 + 69dd67a commit b0cc79c
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 480 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Core Features

* Purpose: High performance protocol relay
* Endpoints: WebSockets, MQTT, TCP
* Codebase: 1K LOC (Erlang), 500 LOC (JavaScript)
* Codebase: 700 LOC (Erlang), 500 LOC (JavaScript)
* Dialyzer: REBAR, REBAR3, MAD, MIX
* Hosts: COWBOY, EMQ, MOCHIWEB, RING, TCP, UDP

Expand Down Expand Up @@ -97,9 +97,10 @@ Protocols

N2O ships with 3 optional protocols.

* [n2o_nitro](https://ws.n2o.dev/man/n2o_nitro.htm) — N2O Nitrogen web framework protocol
* [n2o_ftp](https://ws.n2o.dev/man/n2o_ftp.htm) — N2O File protocol
* [n2o_heart](https://ws.n2o.dev/man/n2o_heart.htm) — N2O Heart protocol
* [nitro_n2o](https://nitro.n2o.dev/man/nitro_n2o.htm) — Nitrogen Web Framework protocol
* [bpe_n2o](https://bpe.n2o.dev) — Business Process Engine protocol

Services
--------
Expand All @@ -118,7 +119,6 @@ JavaScript
* [utf8.js](https://ws.n2o.dev/man/utf8.js.htm) — UTF8 encoder/decoder
* [ieee754.js](https://ws.n2o.dev/man/ieee754.js.htm) — IEEE754 encoder/decoder
* [heart.js](https://ws.n2o.dev/man/heart.js.htm) — HEART protocol
* [nitro.js](https://ws.n2o.dev/man/nitro.js.htm) — NITRO protocol
* [ftp.js](https://ws.n2o.dev/man/ftp.js.htm) — FTP protocol
* [n2o.js](https://ws.n2o.dev/man/n2o.js.htm) — N2O protocol loop
* [mq.js](https://ws.n2o.dev/man/mq.js.htm) — MQTT client
Expand Down
121 changes: 0 additions & 121 deletions man/n2o_nitro.htm

This file was deleted.

73 changes: 0 additions & 73 deletions man/nitro.js.htm

This file was deleted.

19 changes: 0 additions & 19 deletions priv/bert.java

This file was deleted.

7 changes: 6 additions & 1 deletion priv/bert.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ function en_104(o) {
for (var i = 0; i < l; i++)r[i] = ein(o.v[i]);
return [104, l, r];
}
function unilen(o) {
return (o.v instanceof ArrayBuffer || o.v instanceof Uint8Array) ? o.v.byteLength :
(new TextEncoder().encode(o.v)).byteLength;
}

function en_109(o) {
var l = o.v instanceof ArrayBuffer ? o.v.byteLength : o.v.length;
var l = unilen(o);
return [109, l >>> 24, (l >>> 16) & 255, (l >>> 8) & 255, l & 255, ar(o)];
}
function en_108(o) {
Expand Down
12 changes: 0 additions & 12 deletions priv/client.js

This file was deleted.

49 changes: 0 additions & 49 deletions priv/nitro.js

This file was deleted.

23 changes: 0 additions & 23 deletions priv/template.js

This file was deleted.

22 changes: 0 additions & 22 deletions priv/validation.js

This file was deleted.

Loading

0 comments on commit b0cc79c

Please sign in to comment.