Comments (1)
I've just tested running the cli from the code base:
➜ micro git:(master) go run ./cmd/micro/main.go server
2023-08-18 13:54:40 file=user/user.go:99 level=info Setting up keys for JWT at /Users/kstaykov/.micro/id_rsa and /Users/kstaykov/.micro/id_rsa.pub
2023-08-18 13:54:42 file=server/server.go:74 level=info Starting server
2023-08-18 13:54:42 file=server/server.go:129 level=info Registering registry
2023-08-18 13:54:42 file=server/server.go:129 level=info Registering broker
2023-08-18 13:54:42 file=server/server.go:129 level=info Registering network
2023-08-18 13:54:42 file=server/server.go:129 level=info Registering runtime
2023-08-18 13:54:42 file=server/server.go:129 level=info Registering config
2023-08-18 13:54:42 file=server/server.go:129 level=info Registering store
2023-08-18 13:54:42 file=server/server.go:129 level=info Registering events
2023-08-18 13:54:42 file=server/server.go:129 level=info Registering auth
2023-08-18 13:54:42 file=server/server.go:139 level=info Starting runtime
2023-08-18 13:54:42 file=http/http.go:93 level=info HTTP Server Listening on [::]:8080
2023-08-18 13:54:42 file=grpc/grpc.go:992 level=info Server [grpc] Listening on [::]:8081
It works fine so the problem is likely the variables we set in the build. But CGO has other implications and it might work just because I have the sqlite3 installed and the library available.
Maybe switching to non-cgo library is appropriate here? --> modernc.org/sqlite
The tradeoff is performance, see benchmarks here: https://github.com/multiprocessio/sqlite-cgo-no-cgo
from micro.
Related Issues (20)
- grpc error "transport is closing" HOT 5
- Documentation
- Failed to connect to micro server at 127.0.0.1:10012 HOT 2
- Unable to login on a remote server HOT 2
- How to run in production? HOT 6
- Kubernetes Deployment HOT 2
- Context deadline exceeded HOT 2
- server.NewServer use http2 some bug
- 'micro' is not recognized as an internal or external command, operable program or batch file.
- Problems connecting with Windows
- Could not import opentelemetry HOT 2
- How to write KV to a table. HOT 4
- How to update and delete - tables/databases HOT 1
- Postgres Database Connectivity HOT 2
- micro.dev/v4 - module declares its path as: github.com/micro/micro HOT 8
- ..\..\go\pkg\mod\github.com\!proton!mail\[email protected]\openpgp\ecdh\x25519.go:16:2: //go:build comment without // +build comment HOT 3
- list of bugs i know
- run micro server command error HOT 6
- go: micro.dev/v4/cmd/protoc-gen-micro@latest: version constraints conflict: HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micro.