Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
9da0baa
fix: barry quick commit, 2025-02-11 10:28:02
kooksee Feb 11, 2025
714c537
fix: barry quick fix, 2025-03-18 19:20:07
kooksee Mar 18, 2025
ecade96
fix: barry quick fix, 2025-03-25 21:18:33
kooksee Mar 25, 2025
d2edf22
fix: barry quick fix, 2025-03-25 22:19:18
kooksee Mar 25, 2025
df4af4c
fix: barry quick fix, 2025-04-15 00:39:36
kooksee Apr 14, 2025
3da6dc6
fix: barry quick fix, 2025-04-15 23:00:30
kooksee Apr 15, 2025
9b20e48
fix: barry quick fix, 2025-04-26 21:25:29
kooksee Apr 26, 2025
3af40fb
fix: barry quick fix, 2025-04-26 22:05:00
kooksee Apr 26, 2025
952a280
fix: barry quick fix, 2025-05-14 22:30:20
kooksee May 14, 2025
f3fa06d
fix: barry quick fix, 2025-05-14 22:35:28
kooksee May 14, 2025
e8a5f54
fix: barry quick fix, 2025-05-14 22:46:32
kooksee May 14, 2025
4435900
fix: barry quick fix, 2025-05-14 22:53:25
kooksee May 14, 2025
e218ba7
fix: barry quick fix, 2025-05-14 22:59:09
kooksee May 14, 2025
de6ca76
fix: barry quick fix, 2025-05-15 15:01:11
kooksee May 15, 2025
26f625a
fix: barry quick fix, 2025-05-15 15:03:31
kooksee May 15, 2025
941b3dd
fix: barry quick fix, 2025-05-15 22:09:05
kooksee May 15, 2025
2c53af7
fix: barry quick fix, 2025-05-15 22:28:28
kooksee May 15, 2025
17b8197
Merge branch 'feat/supervisor' of github.com:pubgo/lava into feat/sup…
kooksee May 15, 2025
e0f6d7d
fix: barry quick fix, 2025-05-15 22:43:25
kooksee May 15, 2025
7dccbe5
fix: barry quick fix, 2025-05-15 23:00:28
kooksee May 15, 2025
210d6de
fix: barry quick fix, 2025-05-15 23:08:55
kooksee May 15, 2025
9557946
fix: barry quick fix, 2025-05-15 23:12:44
kooksee May 15, 2025
808763a
fix: barry quick fix, 2025-05-16 21:14:02
kooksee May 16, 2025
01e4d20
fix: barry quick fix, 2025-05-16 22:43:48
kooksee May 16, 2025
852f485
fix: barry quick fix, 2025-05-16 22:54:16
kooksee May 16, 2025
320b32e
fix: barry quick fix, 2025-05-19 20:47:34
kooksee May 19, 2025
df54891
fix: barry quick fix, 2025-05-20 15:11:27
kooksee May 20, 2025
5e02262
fix: barry quick fix, 2025-05-20 20:49:48
kooksee May 20, 2025
fbdb3c3
fix: barry quick fix, 2025-05-20 21:56:38
kooksee May 20, 2025
14b49fa
fix: barry quick fix, 2025-05-29 21:29:54
kooksee May 29, 2025
7808f79
fix: barry quick fix, 2025-05-29 21:35:44
kooksee May 29, 2025
fd093e0
fix: barry quick fix, 2025-05-29 21:59:30
kooksee May 29, 2025
dcb28c8
fix: barry quick fix, 2025-05-29 22:02:02
kooksee May 29, 2025
7e0a975
fix: barry quick fix, 2025-05-29 22:17:14
kooksee May 29, 2025
093d2b8
fix: barry quick fix, 2025-05-29 22:19:42
kooksee May 29, 2025
5c28fbc
fix: barry quick fix, 2025-06-07 12:34:35
kooksee Jun 7, 2025
e9bcca3
fix: barry quick fix, 2025-06-07 12:58:25
kooksee Jun 7, 2025
34ec544
fix: barry quick fix, 2025-06-07 14:50:27
kooksee Jun 7, 2025
31fbd4b
fix: barry quick fix, 2025-06-07 14:53:57
kooksee Jun 7, 2025
30e69c6
fix: barry quick fix, 2025-06-07 22:17:17
kooksee Jun 7, 2025
6d7cdee
fix: barry quick fix, 2025-06-08 11:25:28
kooksee Jun 8, 2025
1cdf666
fix: barry quick fix, 2025-06-09 13:36:19
kooksee Jun 9, 2025
6d160e5
Merge branch 'feat/supervisor' of github.com:pubgo/lava into feat/sup…
kooksee Jun 9, 2025
e660e3f
fix: barry quick fix, 2025-06-09 13:41:36
kooksee Jun 9, 2025
e6ee495
fix: barry quick fix, 2025-06-20 23:04:06
kooksee Jun 20, 2025
4f1de5f
fix: barry quick fix, 2025-06-20 23:05:28
kooksee Jun 20, 2025
b4fb51e
Fix/concurrent write conn (#61)
kooksee Jun 22, 2025
0646da9
fix: barry quick fix, 2025-06-23 22:36:31
kooksee Jun 23, 2025
881da22
fix: barry quick fix, 2025-06-24 10:38:10
kooksee Jun 24, 2025
0885a0c
fix: barry quick fix, 2025-06-26 18:46:34
kooksee Jun 26, 2025
b42a4d3
fix: barry quick fix, 2025-07-05 17:28:58
kooksee Jul 5, 2025
1514c84
Merge branch 'feat/supervisor' of github.com:pubgo/lava into feat/sup…
kooksee Jul 5, 2025
7b8e1c2
fix: barry quick fix, 2025-07-05 19:42:20
kooksee Jul 5, 2025
e167988
fix: barry quick fix, 2025-07-05 19:43:23
kooksee Jul 5, 2025
69bf920
fix: upgrade dix, funk (#62)
kooksee Jul 5, 2025
d85bb3c
fix: barry quick fix, 2025-07-05 21:04:50
kooksee Jul 5, 2025
a769adb
fix: barry quick fix, 2025-07-05 22:09:05
kooksee Jul 5, 2025
2aaa1a8
fix: barry quick fix, 2025-07-21 20:59:03
kooksee Jul 21, 2025
3845c19
fix: barry quick fix, 2025-08-11 15:39:57
kooksee Aug 11, 2025
e951959
fix: barry quick fix, 2025-08-13 10:28:47
kooksee Aug 13, 2025
8393297
fix: barry quick fix, 2025-08-13 11:02:22
kooksee Aug 13, 2025
828afaf
fix: barry quick fix, 2025-08-13 21:13:08
kooksee Aug 13, 2025
09dfbab
fix: barry quick fix, 2025-08-13 21:15:00
kooksee Aug 13, 2025
c1ed865
fix: barry quick fix, 2025-08-13 21:17:00
kooksee Aug 13, 2025
a7c6717
fix: barry quick fix, 2025-08-13 21:43:46
kooksee Aug 13, 2025
c503867
fix: barry quick fix, 2025-08-13 21:49:47
kooksee Aug 13, 2025
bf448bc
fix: barry quick fix, 2025-08-13 21:51:40
kooksee Aug 13, 2025
0b09d88
fix: barry quick fix, 2025-08-15 14:53:10
kooksee Aug 15, 2025
dc6aa65
fix: barry quick fix, 2025-08-15 15:11:00
kooksee Aug 15, 2025
a71df9c
fix: barry quick fix, 2025-08-15 15:13:19
kooksee Aug 15, 2025
2d61258
fix: barry quick fix, 2025-08-15 15:23:55
kooksee Aug 15, 2025
d350b58
fix: barry quick fix, 2025-08-15 15:25:45
kooksee Aug 15, 2025
911dc44
fix: barry@feat/supervisor, 2025-08-16 17:18:46
kooksee Aug 16, 2025
8e2e07f
fix: barry@feat/supervisor, 2025-08-16 17:41:12
kooksee Aug 16, 2025
51b661f
fix: barry@feat/supervisor, 2025-08-16 18:04:25
kooksee Aug 16, 2025
2190504
fix: barry@feat/supervisor, 2025-08-16 18:16:37
kooksee Aug 16, 2025
d902d47
fix: barry@feat/supervisor, 2025-08-16 18:17:17
kooksee Aug 16, 2025
24f3012
fix: barry@feat/supervisor, 2025-08-16 18:19:59
kooksee Aug 16, 2025
5509277
fix: barry quick fix, 2025-08-16 23:25:51
kooksee Aug 16, 2025
d6a1400
fix: barry quick fix, 2025-08-17 12:40:45
kooksee Aug 17, 2025
3bdc1cc
fix: barry quick fix, 2025-08-17 12:43:40
kooksee Aug 17, 2025
e623fb3
fix: barry@feat/supervisor, 2025-08-18 12:54:08
kooksee Aug 18, 2025
d5869af
fix: barry@feat/supervisor, 2025-08-18 12:59:16
kooksee Aug 18, 2025
68986b4
fix: barry@feat/supervisor, 2025-08-18 13:06:00
kooksee Aug 18, 2025
bf65ad8
fix: barry@feat/supervisor, 2025-08-18 13:12:48
kooksee Aug 18, 2025
42ce5a1
fix: barry quick fix, 2025-08-18 21:11:03
kooksee Aug 18, 2025
490f3dc
fix: barry quick fix, 2025-08-18 21:37:02
kooksee Aug 18, 2025
f648293
fix: barry quick fix, 2025-08-18 21:40:06
kooksee Aug 18, 2025
b5a1a6f
fix: barry quick fix, 2025-08-18 21:43:30
kooksee Aug 18, 2025
e30584d
fix: barry@feat/supervisor, 2025-08-19 12:42:23
kooksee Aug 19, 2025
692ce2e
fix: barry quick fix, 2025-08-19 22:22:15
kooksee Aug 19, 2025
1e3be46
fix: barry quick fix, 2025-08-19 22:23:11
kooksee Aug 19, 2025
0a0c590
fix: barry quick fix, 2025-08-19 22:39:56
kooksee Aug 19, 2025
856647c
fix: barry quick fix, 2025-08-19 23:12:08
kooksee Aug 19, 2025
ba3e52e
fix: barry quick fix, 2025-08-19 23:14:08
kooksee Aug 19, 2025
e6ce08f
fix: barry quick fix, 2025-08-19 23:15:09
kooksee Aug 19, 2025
43ea3d2
fix: barry@feat/supervisor, 2025-08-20 09:42:27
kooksee Aug 20, 2025
d1ae0a4
fix: barry@feat/supervisor, 2025-08-20 18:16:11
kooksee Aug 20, 2025
ae007c5
fix: barry@feat/supervisor, 2025-08-20 18:18:22
kooksee Aug 20, 2025
e6a3690
fix: barry@feat/supervisor, 2025-08-20 18:33:05
kooksee Aug 20, 2025
7c2d5ec
fix: barry@feat/supervisor, 2025-08-20 18:43:49
kooksee Aug 20, 2025
785481c
fix: barry@feat/supervisor, 2025-08-20 18:46:02
kooksee Aug 20, 2025
6438c96
fix: barry quick fix, 2025-08-20 22:18:41
kooksee Aug 20, 2025
2fbe0a1
fix: barry quick fix, 2025-08-20 22:26:51
kooksee Aug 20, 2025
5d072a6
fix: barry quick fix, 2025-08-20 22:34:15
kooksee Aug 20, 2025
a993dff
fix: barry@feat/supervisor, 2025-08-21 10:56:25
kooksee Aug 21, 2025
5674963
fix: barry@feat/supervisor, 2025-08-21 11:29:16
kooksee Aug 21, 2025
2b2ea95
fix: barry@feat/supervisor, 2025-08-21 12:44:56
kooksee Aug 21, 2025
325131c
fix: barry quick fix, 2025-08-21 23:10:22
kooksee Aug 21, 2025
126eaa1
fix: barry@feat/supervisor, 2025-08-22 18:34:04
kooksee Aug 22, 2025
dd32757
fix: barry quick fix, 2025-08-22 20:35:42
kooksee Aug 22, 2025
384c113
fix: barry quick fix, 2025-08-22 20:39:07
kooksee Aug 22, 2025
2f23e75
fix: barry quick fix, 2025-08-22 21:31:07
kooksee Aug 22, 2025
f7fed88
fix: barry quick fix, 2025-08-22 21:32:04
kooksee Aug 22, 2025
9b4d287
fix: barry quick fix, 2025-08-22 22:03:46
kooksee Aug 22, 2025
14cb8f4
fix: barry@feat/supervisor, 2025-08-25 16:09:15
kooksee Aug 25, 2025
47c1069
fix: barry quick fix, 2025-08-25 21:23:37
kooksee Aug 25, 2025
003576d
fix: barry quick fix, 2025-08-25 22:47:45
kooksee Aug 25, 2025
7266e84
fix: barry quick fix, 2025-08-26 21:44:50
kooksee Aug 26, 2025
0410617
fix: barry quick fix, 2025-08-26 22:31:40
kooksee Aug 26, 2025
b60aed5
fix: barry quick fix, 2025-08-26 23:40:26
kooksee Aug 26, 2025
1b3c914
fix: barry@feat/supervisor, 2025-08-27 14:41:01
kooksee Aug 27, 2025
4908a76
fix: barry quick fix, 2025-08-27 21:10:18
kooksee Aug 27, 2025
00346d1
fix: barry quick fix, 2025-08-27 21:18:10
kooksee Aug 27, 2025
d744703
fix: barry quick fix, 2025-08-27 21:24:09
kooksee Aug 27, 2025
69a726c
fix: barry quick fix, 2025-08-27 21:24:26
kooksee Aug 27, 2025
05c3c21
fix: barry quick fix, 2025-08-27 21:54:44
kooksee Aug 27, 2025
c0464ad
fix: barry quick fix, 2025-08-27 22:13:35
kooksee Aug 27, 2025
113b35a
fix: barry quick fix, 2025-08-27 22:33:59
kooksee Aug 27, 2025
f5518cd
fix: barry quick fix, 2025-08-27 22:35:30
kooksee Aug 27, 2025
9a16bb8
fix: barry@feat/supervisor, 2025-08-28 11:03:34
kooksee Aug 28, 2025
243cdd6
fix: barry@feat/supervisor, 2025-08-28 12:08:04
kooksee Aug 28, 2025
36d464f
fix: barry@feat/supervisor, 2025-09-01 11:47:46
kooksee Sep 1, 2025
6af11b2
fix: barry quick fix, 2025-09-01 21:52:50
kooksee Sep 1, 2025
0971412
fix: barry quick fix, 2025-09-02 23:43:43
kooksee Sep 2, 2025
f81d8a7
fix: barry quick fix, 2025-09-03 21:45:24
kooksee Sep 3, 2025
e6f3fc6
fix: barry quick fix, 2025-09-03 21:47:59
kooksee Sep 3, 2025
3f6d048
fix: barry quick fix, 2025-09-03 22:00:13
kooksee Sep 3, 2025
afffc2b
fix: barry quick fix, 2025-09-04 22:14:58
kooksee Sep 4, 2025
75d8577
fix: barry quick fix, 2025-09-06 19:50:53
kooksee Sep 6, 2025
1ae2b86
fix: barry quick fix, 2025-09-06 22:19:19
kooksee Sep 6, 2025
5893d53
fix: barry quick fix, 2025-09-07 11:51:51
kooksee Sep 7, 2025
111191a
fix: barry quick fix, 2025-09-07 14:19:11
kooksee Sep 7, 2025
4faded1
chore: quick update feat/supervisor at 2025-09-13 21:05:06
kooksee Sep 13, 2025
5bcfc37
chore: quick update feat/supervisor at 2025-09-16 18:16:27
kooksee Sep 13, 2025
ee86eed
fix: barry quick fix, 2025-09-16 21:22:22
kooksee Sep 16, 2025
968d6c9
chore: quick update feat/supervisor at 2025-09-26 16:18:03
kooksee Sep 16, 2025
d495186
chore: quick update feat/supervisor at 2025-09-27 10:17:46
kooksee Sep 16, 2025
80d642d
chore: quick update feat/supervisor at 2025-09-27 10:21:09
kooksee Sep 27, 2025
1fa3b02
chore: quick update feat/supervisor at 2025-10-17 12:02:15
kooksee Sep 16, 2025
cd3894a
chore: quick update feat/supervisor at 2025-10-17 18:17:58
kooksee Oct 17, 2025
6c0cffc
chore: quick update feat/supervisor at 2025-10-18 23:03:33
kooksee Oct 17, 2025
75e7889
chore: quick update feat/supervisor at 2025-10-28 15:26:19
kooksee Oct 20, 2025
845ea5e
chore: quick update feat/supervisor at 2025-10-28 19:49:55
kooksee Oct 20, 2025
3f75c59
chore: quick update feat/supervisor at 2025-11-10 15:34:56
kooksee Oct 28, 2025
459b7a2
chore: quick update feat/supervisor at 2025-12-06 17:15:05
kooksee Oct 28, 2025
f20b473
chore: quick update feat/supervisor at 2025-12-12 21:52:29
kooksee Dec 6, 2025
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
19 changes: 8 additions & 11 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: "actions/checkout@v4"
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version-file: 'go.mod'

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v8
with:
skip-go-installation: true
args: --timeout 3m --verbose
Expand All @@ -30,12 +29,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version-file: 'go.mod'

- name: Collect dependencies
run: |
Expand All @@ -46,7 +43,7 @@ jobs:
run: gotestsum --junitfile unit-tests.xml -- -gcflags=-l ./...

- name: Test report
uses: dorny/test-reporter@v1
uses: dorny/test-reporter@v2
if: success() || failure()
with:
name: Test report
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ pkg/example/services/logs
logs
bin
/example/bin
.proto
.proto
68 changes: 41 additions & 27 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,44 @@
version: "2"
issues:
fix: true
linters:
fast: true
disable-all: true
default: none
enable:
- govet
exclusions:
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- internal/examples
- vendor
- third_party$
- builtin$
- examples$
formatters:
enable:
# - bodyclose # checks whether HTTP response body is closed successfully
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
- gosimple # Linter for Go source code that specializes in simplifying a code
- govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
# - ineffassign # Detects when assignments to existing variables are not used
# - dogsled # Checks assignments with too many blank identifiers (e.g. x, , , _, := f())
# - goconst # Finds repeated strings that could be replaced by a constant
- goimports # Goimports does everything that gofmt does. Additionally it checks unused imports
# - goprintffuncname # Checks that printf-like functions are named with f at the end
# - nolintlint # Reports ill-formed or insufficient nolint directives
# - rowserrcheck # checks whether Err of rows is checked successfully
- staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks
# - unconvert # Remove unnecessary type conversions
# - unparam # Reports unused function parameters
# - unused # Checks Go code for unused constants, variables, functions and types
- goimports
- gofmt
- gofumpt
settings:
gofumpt:
extra-rules: true
goimports:
local-prefixes:
- github.com/pubgo/lava/v2
gofmt:
simplify: false
rewrite-rules:
- pattern: 'interface{}'
replacement: 'any'
- pattern: 'a[b:len(a)]'
replacement: 'a[b:]'

issues:
exclude-dirs:
- internal/example
- cmds
- vendor
- pkg/proto
exclude-generated: strict
exclude-dirs-use-default: true
exclude-case-sensitive: false
exclude-use-default: true
exclusions:
paths:
- internal/examples
- vendor
- examples$
- proto
26 changes: 0 additions & 26 deletions .goreleaser.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v2.0.0
50 changes: 0 additions & 50 deletions Makefile

This file was deleted.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,12 @@
11. 统一protobuf定义grpc和http服务, 便于生成swagger和sdk, 方便第三方调用

12. 专注于业务开发,把额外的组件抽象成一个独立的服务


## install

```shell
brew install go-task/tap/go-task
brew install go-task
eval "$(task --completion zsh)"
```
27 changes: 0 additions & 27 deletions buildtasks/bench.go

This file was deleted.

17 changes: 0 additions & 17 deletions buildtasks/lint.go

This file was deleted.

23 changes: 0 additions & 23 deletions buildtasks/util.go

This file was deleted.

5 changes: 3 additions & 2 deletions clients/grpcc/aaa.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ package grpcc
import (
"context"

"github.com/pubgo/lava/clients/grpcc/grpcc_config"
"google.golang.org/grpc"

"github.com/pubgo/lava/v2/clients/grpcc/grpccconfig"
)

const Name = "grpcc"

type Config = grpcc_config.Cfg
type Config = grpccconfig.Cfg

// Client grpc client interface
type Client interface {
Expand Down
Loading