Skip to content

Commit

Permalink
docs: Rename to panrpc, add new logo and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Jan 11, 2024
1 parent fc8535a commit 92e8bcd
Show file tree
Hide file tree
Showing 40 changed files with 1,635 additions and 257 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hydrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
flags: ""
cmd: GOFLAGS="-short" ./Hydrunfile test
dst: out/nonexistent
- id: go-lurl
- id: go-purl
src: .
os: golang:bookworm
flags: ""
cmd: ./Hydrunfile go lurl
cmd: ./Hydrunfile go purl
dst: out/*

steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OUTPUT_DIR ?= out
DST ?=

# Private variables
obj = lurl
obj = purl
all: $(addprefix build/,$(obj))

# Build
Expand Down
120 changes: 60 additions & 60 deletions README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net"
"sync/atomic"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

type local struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net"
"os"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

type local struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"log"
"net"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

type local struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net"
"os"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

type local struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strings"

"github.com/google/uuid"
"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
"github.com/redis/go-redis/v9"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"sync/atomic"

"github.com/google/uuid"
"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
"github.com/redis/go-redis/v9"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net"
"os"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

type local struct{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"time"

"github.com/fxamacker/cbor/v2"
"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

var (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net"

"github.com/fxamacker/cbor/v2"
"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

var (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"sync/atomic"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

type local struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"

"github.com/fxamacker/cbor/v2"
"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

var (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net"

"github.com/fxamacker/cbor/v2"
"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
)

var (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"sync/atomic"
"time"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
"github.com/pojntfx/weron/pkg/wrtcconn"
"github.com/rs/zerolog"
)
Expand Down Expand Up @@ -178,7 +178,7 @@ func main() {
u.String(),
*key,
strings.Split(*ice, ","),
[]string{"ltsrpc/example/webrtc"},
[]string{"panrpc/example/webrtc"},
&wrtcconn.AdapterConfig{
Timeout: *timeout,
ForceRelay: *forceRelay,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"os"
"time"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
"nhooyr.io/websocket"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"sync/atomic"
"time"

"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
"nhooyr.io/websocket"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/lurl/main.go → cmd/purl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"time"

"github.com/google/uuid"
"github.com/pojntfx/ltsrpc/pkg/rpc"
"github.com/pojntfx/panrpc/pkg/rpc"
"nhooyr.io/websocket"
)

Expand All @@ -38,7 +38,7 @@ func main() {
flag.Usage = func() {
bin := filepath.Base(os.Args[0])

fmt.Fprintf(os.Stderr, `Like cURL, but for ltsrpc: Command-line tool for interacting with ltsrpc servers
fmt.Fprintf(os.Stderr, `Like cURL, but for panrpc: Command-line tool for interacting with panrpc servers
Usage of %v:
%v [flags] <(ws|wss|tcp|tls)://host:port/function> <[args...]>
Expand Down
2 changes: 1 addition & 1 deletion docs/generate-bench-rps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mkdir -p ./out

echo "data_type,runs" >./out/rps-${SERIALIZER}.csv
for data_type in "${DATA_TYPES[@]}"; do
export RESULTS=$(go run ./cmd/ltsrpc-example-tcp-rps-client/ --data-type ${data_type} --serializer ${SERIALIZER})
export RESULTS=$(go run ./cmd/panrpc-example-tcp-rps-client/ --data-type ${data_type} --serializer ${SERIALIZER})

IFS=$'\n'
for result in ${RESULTS}; do
Expand Down
2 changes: 1 addition & 1 deletion docs/generate-bench-throughput.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mkdir -p ./out

echo "throughput" >./out/throughput-${SERIALIZER}.csv

export RESULTS=$(go run ./cmd/ltsrpc-example-tcp-throughput-client/ --serializer ${SERIALIZER})
export RESULTS=$(go run ./cmd/panrpc-example-tcp-throughput-client/ --serializer ${SERIALIZER})

IFS=$'\n'
for result in ${RESULTS}; do
Expand Down
Binary file modified docs/icon-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 92e8bcd

Please sign in to comment.