Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Rust #179

Draft
wants to merge 59 commits into
base: master
Choose a base branch
from
Draft

Rust #179

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
741b08b
delete gameobject.go
minami14 Feb 21, 2021
abe8f61
add interfaces for quic
minami14 Feb 21, 2021
47f0c54
add comments
minami14 Feb 21, 2021
0f80a30
add quicStream
minami14 Feb 23, 2021
9e6b0a9
rejected
minami14 Mar 4, 2021
6aeefd1
update dependency
bootjp Apr 19, 2021
4734a8a
implement datagram
minami14 May 16, 2021
7196b31
delete rpc-buffer.go
minami14 May 16, 2021
911b895
go mod tidy
minami14 May 16, 2021
aad1a2a
implement Stream
minami14 May 16, 2021
96155f6
remove quicListener
minami14 May 16, 2021
6662d5c
unexport id generator
minami14 May 22, 2021
61bc8e0
sort import
minami14 May 22, 2021
911fae4
modify Client.readStart and Room.register
minami14 May 23, 2021
b07953c
add comments
minami14 May 23, 2021
5c953f2
add prefix to user created stream
minami14 May 29, 2021
c9a595d
fix example
minami14 May 29, 2021
bdb6699
delete binary.go and binary_test.go
minami14 May 29, 2021
a429448
fix test
minami14 May 29, 2021
9cb2af1
add comments
minami14 May 29, 2021
06c0b6d
delete server.go
minami14 May 29, 2021
dbd82aa
go mod tidy
minami14 May 29, 2021
1baf825
fix assignment to entry in nil map
minami14 May 29, 2021
9aec084
fix EOF error
minami14 May 29, 2021
ebbabd9
modify test to quic implementation
minami14 May 29, 2021
711b339
modify Dockerfile
minami14 May 29, 2021
a208738
Update config.yml
minami14 May 30, 2021
912e098
Update config.yml
minami14 May 30, 2021
75a3e7c
Update config.yml
minami14 May 30, 2021
fd742c4
Update config.yml
minami14 May 30, 2021
05dc6e8
Update config.yml
minami14 May 30, 2021
3302203
Merge branch 'master' into quic
minami14 May 30, 2021
68819b8
fix not to log sensitive information
minami14 May 30, 2021
c0fbcb3
add port boundary check
minami14 May 30, 2021
4ca6939
fix goroutine leak
minami14 Jun 4, 2021
68d706c
refactor
minami14 Jun 5, 2021
4799c73
Merge branch 'master' into quic
bootjp Mar 4, 2023
6bd233b
update ci
bootjp Mar 4, 2023
6ab0c11
fix dependency
bootjp Mar 4, 2023
c2abb21
wip migrate rust
bootjp Mar 19, 2023
eff7193
wip
bootjp Mar 20, 2023
9d48502
wip
bootjp Mar 20, 2023
a5ed6ca
Merge branch 'master' into rust
bootjp Mar 20, 2023
5d41192
add protobuf-compiler
bootjp Mar 21, 2023
6e6a68c
add redis
bootjp Mar 21, 2023
48e8cd3
refactor
bootjp Mar 21, 2023
41882de
impl store
bootjp Mar 21, 2023
648f2fb
ci: add CircleCI `config.yml`
koyashiro Mar 22, 2023
84c7398
Merge pull request #182 from iguagile/fix-circleci-config
bootjp Mar 22, 2023
43c0d20
add id_generator
bootjp Mar 22, 2023
52ad397
ci: add actionlint workflow
koyashiro Mar 22, 2023
f87ec38
Merge pull request #183 from iguagile/add-actionlint-workflow
bootjp Mar 22, 2023
39e4eb2
ci: enable cache in GitHub Actions
koyashiro Mar 22, 2023
cfeaeed
Merge pull request #184 from iguagile/enable-cache-on-ci
bootjp Mar 22, 2023
ab63f31
Merge branch 'rust' of github.com:iguagile/iguagile-engine into rust
bootjp Mar 22, 2023
0290c61
fix: remove unuse import
bootjp Mar 22, 2023
0ebe49e
feat: implement `IdPool`
koyashiro Mar 25, 2023
b57e956
feat: change `IdPool` to trait
koyashiro Mar 26, 2023
c1cf17c
Merge pull request #185 from iguagile/implement-id-generator
bootjp Mar 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 13 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
version: 2.1

jobs:
build:
hello-job:
docker:
- image: golang:1.20
environment:
GO111MODULE: "on"
REDIS_HOST: "localhost:6379"
- image: redis:latest
working_directory: /go/src/github.com/iguagile/iguagile-engine
- image: cimg/node:17.2.0 # the primary container, where your job's commands are run
auth:
username: mydockerhub-user
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout
- run: go get golang.org/x/tools/cmd/goimports && diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./lib/*")) <(printf "")
- run: go install golang.org/x/lint/golint@latest && golint -set_exit_status ./...
- run: go test -bench=. -v ./...
- run: bash ./fail_test.bash
- checkout # check out the code in the project directory
- run: echo "hello world" # run the `echo` command

workflows:
my-workflow:
jobs:
- hello-job
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REDIS_HOST=localhost:6379
GRPC_PORT=4000
7 changes: 0 additions & 7 deletions .github/dependabot.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: actionlint

on:
push:
paths:
- .github/workflows/**
pull_request:
paths:
- .github/workflows/**

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on: [push]

name: CI

jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- name:
run: |
sudo apt-get install protobuf-compiler
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: test
args:
services:
redis:
image: redis
ports:
- 6379:6379
71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@

# Output of the go coverage tool, specifically when used with LiteIDE
*.out


# Added by cargo

/target
Loading