Skip to content

Commit

Permalink
GO-1561 merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillSto committed Jun 30, 2023
2 parents 4291ec3 + e9ba62f commit 0bde4dc
Show file tree
Hide file tree
Showing 135 changed files with 3,629 additions and 2,873 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ linters-settings:
goimports:
local-prefixes: github.com/anyproto/anytype-heart
govet:
check-shadowing: true
check-shadowing: false
funlen:
lines: 120
statements: 100
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ If you want to change the default port(9999):
----
### Useful tools for debug

#### Debug server
Use env var ANYDEBUG=address to enable debugging HTTP server. For example: `ANYDEBUG=:6061` will start debug server on port 6061

You can find all endpoints in `/debug` page. For example: http://localhost:6061/debug

#### gRPC logging
In order to log mw gRPC requests/responses use `ANYTYPE_GRPC_LOG` env var:
- `ANYTYPE_LOG_LEVEL="grpc=DEBUG" ANYTYPE_GRPC_LOG=1` - log only method names
Expand Down
265 changes: 0 additions & 265 deletions app/app.go

This file was deleted.

Loading

0 comments on commit 0bde4dc

Please sign in to comment.