├── .all-contributorsrc ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── custom.md │ └── feature_request.md └── workflows │ ├── go.yml │ ├── golangci-lint.yml │ └── release.yml ├── .gitignore ├── .goreleaser.yml ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README-zh.md ├── README.md ├── client ├── egrpc │ ├── component.go │ ├── component_test.go │ ├── config.go │ ├── config_test.go │ ├── container.go │ ├── container_test.go │ ├── interceptor.go │ ├── interceptor_test.go │ ├── option.go │ ├── option_test.go │ └── resolver │ │ ├── resolver.go │ │ ├── resolver_func_test.go │ │ ├── resolver_registry_test.go │ │ └── stat.go └── ehttp │ ├── component.go │ ├── component_test.go │ ├── config.go │ ├── config_test.go │ ├── config_test │ └── conf.toml │ ├── container.go │ ├── container_test.go │ ├── interceptor.go │ ├── interceptor_test.go │ ├── options.go │ ├── options_test.go │ └── resolver │ ├── resolver.go │ ├── resolver_func_test.go │ ├── resolver_http.go │ └── resolver_test.go ├── cmd ├── protoc-gen-go-errors │ ├── main.go │ ├── render.go │ └── template.go ├── protoc-gen-go-http │ ├── main.go │ ├── render.go │ └── template.go └── protoc-gen-go-test │ ├── ast.go │ ├── ast_test.go │ ├── main.go │ ├── render.go │ ├── render_test.go │ └── template.go ├── core ├── constant │ ├── config.go │ ├── env.go │ ├── key.go │ ├── service.go │ └── service_test.go ├── eapp │ ├── env.go │ ├── env_test.go │ ├── pkg.go │ └── pkg_test.go ├── econf │ ├── api.go │ ├── conf.go │ ├── conf_api_test.go │ ├── conf_test.go │ ├── container.go │ ├── container_test.go │ ├── file │ │ ├── conf_test │ │ │ ├── cfg.json │ │ │ ├── conf.json │ │ │ ├── conf.toml │ │ │ └── conf.yaml │ │ ├── file.go │ │ └── file_test.go │ ├── manager │ │ ├── manager.go │ │ └── manager_test.go │ ├── option.go │ └── options_test.go ├── eerrors │ ├── errors.go │ ├── errors.pb.go │ ├── errors.proto │ ├── errors_test.go │ ├── types.go │ └── types_test.go ├── eflag │ ├── flag.go │ ├── flag1_test.go │ ├── flag_bool.go │ ├── flag_float64.go │ ├── flag_int.go │ ├── flag_str.go │ ├── flag_test.go │ ├── flag_uint.go │ └── init.go ├── elog │ ├── component.go │ ├── component_func.go │ ├── component_func_test.go │ ├── component_test.go │ ├── config.go │ ├── config_test.go │ ├── container.go │ ├── elog_api.go │ ├── elog_field.go │ ├── elog_field_test.go │ ├── elog_manager.go │ ├── elog_option.go │ ├── file_writer_builder.go │ ├── memory_encoder_test.go │ ├── rotate_buffer_syncer.go │ ├── stderr_writer_builder.go │ └── stdout_writer_builder.go ├── emetric │ ├── README.md │ ├── counter.go │ ├── counter_test.go │ ├── gauge.go │ ├── gauge_test.go │ ├── histogram.go │ ├── metric.go │ ├── summary.go │ ├── tcpstat.go │ └── tcpstat_test.go ├── eregistry │ ├── endpoint.go │ ├── endpoint_test.go │ ├── nop.go │ ├── nop_test.go │ ├── registry.go │ └── registry_test.go ├── esentinel │ ├── component.go │ ├── component_test.go │ ├── config.go │ ├── config_test.go │ ├── config_test │ │ ├── sentinel.json │ │ └── test.toml │ ├── container.go │ ├── container_test.go │ └── readme.md ├── etrace │ ├── README.md │ ├── compatible.go │ ├── compatible_test.go │ ├── otel │ │ ├── config.go │ │ ├── config_test.go │ │ └── option.go │ ├── trace.go │ └── trace_test.go ├── standard │ └── component.go ├── transport │ ├── grpc_transport.go │ ├── grpc_transport_test.go │ ├── header_transport.go │ ├── transport.go │ └── transport_test.go └── util │ ├── xcolor │ └── color.go │ ├── xcycle │ ├── lifecycle.go │ └── lifecycle_test.go │ ├── xdebug │ ├── print.go │ └── print_test.go │ ├── xmap │ └── map.go │ ├── xnet │ ├── ip.go │ └── ip_test.go │ ├── xstring │ ├── conv.go │ ├── conv_test.go │ ├── function.go │ ├── function_test.go │ ├── json.go │ ├── json_test.go │ ├── uuid.go │ └── uuid_test.go │ └── xtime │ ├── xtime.go │ └── xtime_test.go ├── docs └── images │ ├── client-grpc.png │ ├── client-http.png │ ├── client-mysql.png │ ├── client-redis.jpg │ ├── client_grpc1.png │ ├── ego_flow.png │ ├── ego_frame.png │ ├── frame.jpeg │ ├── join.jpeg │ ├── metric.png │ ├── startup.png │ ├── trace-arms.png │ ├── trace-client-grpc.png │ ├── trace-server-grpc.png │ ├── trace.png │ └── version.png ├── ego.go ├── ego_function.go ├── ego_function_test.go ├── ego_option.go ├── ego_option_test.go ├── ego_test.go ├── examples ├── build │ ├── Makefile │ ├── config.toml │ ├── go.mod │ ├── go.sum │ ├── main.go │ └── scripts │ │ └── build │ │ ├── gobuild.sh │ │ └── report_build_info.sh ├── config │ ├── oneline-by-file-watch │ │ ├── config.toml │ │ └── main.go │ ├── oneline-by-file │ │ ├── config.toml │ │ └── main.go │ ├── struct-by-file-watch │ │ ├── config.toml │ │ └── main.go │ └── struct-by-file │ │ ├── config.toml │ │ └── main.go ├── cost │ └── main.go ├── grpc │ ├── direct │ │ ├── client │ │ │ ├── config.toml │ │ │ └── main.go │ │ └── server │ │ │ ├── config.toml │ │ │ ├── main.go │ │ │ ├── server │ │ │ └── init_test.go │ │ │ └── test.sh │ ├── errors │ │ ├── README.md │ │ ├── error.sh │ │ ├── errors.pb.go │ │ ├── errors.proto │ │ └── errors_errors.pb.go │ ├── header │ │ ├── Makefile │ │ ├── client │ │ │ ├── config.toml │ │ │ └── main.go │ │ └── server │ │ │ ├── config.toml │ │ │ └── main.go │ ├── origin │ │ ├── client │ │ │ ├── config.toml │ │ │ └── main.go │ │ └── server │ │ │ ├── config.toml │ │ │ └── main.go │ └── unix │ │ ├── client │ │ ├── config.toml │ │ └── main.go │ │ └── server │ │ ├── config.toml │ │ ├── main.go │ │ └── server │ │ └── init_test.go ├── hello │ ├── config.toml │ └── main.go ├── helloworld │ ├── helloworld.pb.go │ ├── helloworld.proto │ └── helloworld_grpc.pb.go ├── http │ ├── client │ │ ├── config.toml │ │ └── main.go │ ├── grpc-proxy │ │ ├── config.toml │ │ └── main.go │ ├── headeruid │ │ ├── Makefile │ │ ├── config.toml │ │ └── main.go │ ├── origin │ │ └── main.go │ └── server │ │ ├── config.toml │ │ └── main.go ├── logger │ ├── ali │ │ └── main.go │ ├── console │ │ └── main.go │ ├── file │ │ └── main.go │ ├── panic │ │ └── main.go │ ├── stderr │ │ └── main.go │ └── watch │ │ ├── config.toml │ │ └── main.go ├── sentinel │ ├── grpc │ │ ├── client │ │ │ ├── config │ │ │ │ └── local.toml │ │ │ └── main.go │ │ └── server │ │ │ ├── config │ │ │ ├── local.toml │ │ │ └── sentinel.json │ │ │ ├── main.go │ │ │ └── test.sh │ └── http │ │ ├── config │ │ ├── local.toml │ │ └── sentinel.json │ │ └── main.go ├── server │ ├── governor │ │ ├── config.toml │ │ └── main.go │ ├── grpc │ │ ├── config.toml │ │ └── main.go │ └── http │ │ ├── readtimeout │ │ ├── config.toml │ │ └── main.go │ │ └── simple │ │ ├── config.toml │ │ └── main.go ├── task │ ├── cron │ │ ├── config.toml │ │ └── main.go │ ├── httpjob │ │ ├── config.toml │ │ └── main.go │ └── job │ │ ├── config.toml │ │ └── main.go └── trace │ ├── grpc │ ├── client │ │ ├── config.toml │ │ └── main.go │ └── server │ │ ├── config.toml │ │ └── main.go │ └── http │ ├── client │ ├── config.toml │ └── main.go │ └── server │ ├── config.toml │ └── main.go ├── go.mod ├── go.sum ├── internal ├── ecode │ ├── code.go │ └── code_test.go ├── egrpcinteceptor │ ├── inteceptor.go │ ├── inteceptor_test.go │ └── semconv.go ├── egrpclog │ ├── gopclog_test.go │ └── grpclog.go ├── ienv │ ├── env.go │ └── env_test.go ├── retry │ ├── retry.go │ └── retry_test.go ├── test │ ├── errcode │ │ ├── errors.pb.go │ │ ├── errors.proto │ │ └── errors_errors.pb.go │ ├── grpc_test.go │ └── helloworld │ │ ├── helloworld.pb.go │ │ ├── helloworld.proto │ │ └── helloworld_grpc.pb.go ├── tools │ ├── tools.go │ └── tools_test.go └── util │ ├── color.go │ ├── color_windows.go │ ├── map.go │ └── map_test.go ├── package.json ├── scripts └── build │ ├── gobuild.sh │ └── report_build_info.sh ├── server ├── egin │ ├── component.go │ ├── component_test.go │ ├── component_websocket.go │ ├── component_websocket_test.go │ ├── config.go │ ├── config_test.go │ ├── const.go │ ├── container.go │ ├── container_test.go │ ├── grpc_proxy.go │ ├── grpc_proxy_test.go │ ├── interceptor.go │ ├── interceptor_cost.go │ ├── interceptor_gzip.go │ ├── interceptor_test.go │ ├── options.go │ ├── options_test.go │ └── testdata │ │ ├── ego-client │ │ ├── any-client-key.pem │ │ ├── any-client.csr │ │ ├── any-client.pem │ │ ├── ca-config.json │ │ ├── ca-key.pem │ │ ├── ca.csr │ │ └── ca.pem │ │ └── ego-server │ │ ├── ca-config.json │ │ ├── ca-key.pem │ │ ├── ca.csr │ │ ├── ca.pem │ │ ├── ego-server-key.pem │ │ ├── ego-server.csr │ │ └── ego-server.pem ├── egovernor │ ├── component.go │ ├── component_test.go │ ├── config.go │ ├── config_test.go │ ├── container.go │ ├── container_test.go │ ├── options.go │ └── options_test.go ├── egrpc │ ├── component.go │ ├── component_test.go │ ├── config.go │ ├── config_test.go │ ├── container.go │ ├── container_test.go │ ├── interceptor.go │ ├── interceptor_test.go │ ├── opitons.go │ └── options_test.go ├── server.go └── server_test.go ├── signal_posix.go ├── signal_windows.go ├── signals_unix.go ├── signals_windows.go ├── sonar-project.properties ├── task ├── ecron │ ├── component.go │ ├── component_test.go │ ├── config.go │ ├── container.go │ ├── lock.go │ ├── options.go │ ├── options_test.go │ ├── scheduler.go │ ├── wrappedjob.go │ └── wrappedlogger.go └── ejob │ ├── component.go │ ├── component_test.go │ ├── config.go │ ├── container.go │ ├── container_test.go │ ├── options.go │ └── options_test.go └── test ├── gracefulstop ├── config.toml ├── gracefulstop.md └── main.go └── zerodowntime ├── config.toml ├── main.go └── zerodowntime.md /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/custom.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.github/ISSUE_TEMPLATE/custom.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.gitignore -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/.goreleaser.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/Makefile -------------------------------------------------------------------------------- /README-zh.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/README-zh.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/README.md -------------------------------------------------------------------------------- /client/egrpc/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/component.go -------------------------------------------------------------------------------- /client/egrpc/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/component_test.go -------------------------------------------------------------------------------- /client/egrpc/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/config.go -------------------------------------------------------------------------------- /client/egrpc/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/config_test.go -------------------------------------------------------------------------------- /client/egrpc/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/container.go -------------------------------------------------------------------------------- /client/egrpc/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/container_test.go -------------------------------------------------------------------------------- /client/egrpc/interceptor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/interceptor.go -------------------------------------------------------------------------------- /client/egrpc/interceptor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/interceptor_test.go -------------------------------------------------------------------------------- /client/egrpc/option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/option.go -------------------------------------------------------------------------------- /client/egrpc/option_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/option_test.go -------------------------------------------------------------------------------- /client/egrpc/resolver/resolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/resolver/resolver.go -------------------------------------------------------------------------------- /client/egrpc/resolver/resolver_func_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/resolver/resolver_func_test.go -------------------------------------------------------------------------------- /client/egrpc/resolver/resolver_registry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/resolver/resolver_registry_test.go -------------------------------------------------------------------------------- /client/egrpc/resolver/stat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/egrpc/resolver/stat.go -------------------------------------------------------------------------------- /client/ehttp/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/component.go -------------------------------------------------------------------------------- /client/ehttp/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/component_test.go -------------------------------------------------------------------------------- /client/ehttp/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/config.go -------------------------------------------------------------------------------- /client/ehttp/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/config_test.go -------------------------------------------------------------------------------- /client/ehttp/config_test/conf.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/config_test/conf.toml -------------------------------------------------------------------------------- /client/ehttp/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/container.go -------------------------------------------------------------------------------- /client/ehttp/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/container_test.go -------------------------------------------------------------------------------- /client/ehttp/interceptor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/interceptor.go -------------------------------------------------------------------------------- /client/ehttp/interceptor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/interceptor_test.go -------------------------------------------------------------------------------- /client/ehttp/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/options.go -------------------------------------------------------------------------------- /client/ehttp/options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/options_test.go -------------------------------------------------------------------------------- /client/ehttp/resolver/resolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/resolver/resolver.go -------------------------------------------------------------------------------- /client/ehttp/resolver/resolver_func_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/resolver/resolver_func_test.go -------------------------------------------------------------------------------- /client/ehttp/resolver/resolver_http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/resolver/resolver_http.go -------------------------------------------------------------------------------- /client/ehttp/resolver/resolver_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/client/ehttp/resolver/resolver_test.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-errors/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-errors/main.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-errors/render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-errors/render.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-errors/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-errors/template.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-http/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-http/main.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-http/render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-http/render.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-http/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-http/template.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-test/ast.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-test/ast.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-test/ast_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-test/ast_test.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-test/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-test/main.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-test/render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-test/render.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-test/render_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-test/render_test.go -------------------------------------------------------------------------------- /cmd/protoc-gen-go-test/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/cmd/protoc-gen-go-test/template.go -------------------------------------------------------------------------------- /core/constant/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/constant/config.go -------------------------------------------------------------------------------- /core/constant/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/constant/env.go -------------------------------------------------------------------------------- /core/constant/key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/constant/key.go -------------------------------------------------------------------------------- /core/constant/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/constant/service.go -------------------------------------------------------------------------------- /core/constant/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/constant/service_test.go -------------------------------------------------------------------------------- /core/eapp/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eapp/env.go -------------------------------------------------------------------------------- /core/eapp/env_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eapp/env_test.go -------------------------------------------------------------------------------- /core/eapp/pkg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eapp/pkg.go -------------------------------------------------------------------------------- /core/eapp/pkg_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eapp/pkg_test.go -------------------------------------------------------------------------------- /core/econf/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/api.go -------------------------------------------------------------------------------- /core/econf/conf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/conf.go -------------------------------------------------------------------------------- /core/econf/conf_api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/conf_api_test.go -------------------------------------------------------------------------------- /core/econf/conf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/conf_test.go -------------------------------------------------------------------------------- /core/econf/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/container.go -------------------------------------------------------------------------------- /core/econf/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/container_test.go -------------------------------------------------------------------------------- /core/econf/file/conf_test/cfg.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/econf/file/conf_test/conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/file/conf_test/conf.json -------------------------------------------------------------------------------- /core/econf/file/conf_test/conf.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/file/conf_test/conf.toml -------------------------------------------------------------------------------- /core/econf/file/conf_test/conf.yaml: -------------------------------------------------------------------------------- 1 | Test: 2 | hello: world -------------------------------------------------------------------------------- /core/econf/file/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/file/file.go -------------------------------------------------------------------------------- /core/econf/file/file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/file/file_test.go -------------------------------------------------------------------------------- /core/econf/manager/manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/manager/manager.go -------------------------------------------------------------------------------- /core/econf/manager/manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/manager/manager_test.go -------------------------------------------------------------------------------- /core/econf/option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/option.go -------------------------------------------------------------------------------- /core/econf/options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/econf/options_test.go -------------------------------------------------------------------------------- /core/eerrors/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eerrors/errors.go -------------------------------------------------------------------------------- /core/eerrors/errors.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eerrors/errors.pb.go -------------------------------------------------------------------------------- /core/eerrors/errors.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eerrors/errors.proto -------------------------------------------------------------------------------- /core/eerrors/errors_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eerrors/errors_test.go -------------------------------------------------------------------------------- /core/eerrors/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eerrors/types.go -------------------------------------------------------------------------------- /core/eerrors/types_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eerrors/types_test.go -------------------------------------------------------------------------------- /core/eflag/flag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/flag.go -------------------------------------------------------------------------------- /core/eflag/flag1_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/flag1_test.go -------------------------------------------------------------------------------- /core/eflag/flag_bool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/flag_bool.go -------------------------------------------------------------------------------- /core/eflag/flag_float64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/flag_float64.go -------------------------------------------------------------------------------- /core/eflag/flag_int.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/flag_int.go -------------------------------------------------------------------------------- /core/eflag/flag_str.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/flag_str.go -------------------------------------------------------------------------------- /core/eflag/flag_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/flag_test.go -------------------------------------------------------------------------------- /core/eflag/flag_uint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/flag_uint.go -------------------------------------------------------------------------------- /core/eflag/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eflag/init.go -------------------------------------------------------------------------------- /core/elog/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/component.go -------------------------------------------------------------------------------- /core/elog/component_func.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/component_func.go -------------------------------------------------------------------------------- /core/elog/component_func_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/component_func_test.go -------------------------------------------------------------------------------- /core/elog/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/component_test.go -------------------------------------------------------------------------------- /core/elog/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/config.go -------------------------------------------------------------------------------- /core/elog/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/config_test.go -------------------------------------------------------------------------------- /core/elog/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/container.go -------------------------------------------------------------------------------- /core/elog/elog_api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/elog_api.go -------------------------------------------------------------------------------- /core/elog/elog_field.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/elog_field.go -------------------------------------------------------------------------------- /core/elog/elog_field_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/elog_field_test.go -------------------------------------------------------------------------------- /core/elog/elog_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/elog_manager.go -------------------------------------------------------------------------------- /core/elog/elog_option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/elog_option.go -------------------------------------------------------------------------------- /core/elog/file_writer_builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/file_writer_builder.go -------------------------------------------------------------------------------- /core/elog/memory_encoder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/memory_encoder_test.go -------------------------------------------------------------------------------- /core/elog/rotate_buffer_syncer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/rotate_buffer_syncer.go -------------------------------------------------------------------------------- /core/elog/stderr_writer_builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/stderr_writer_builder.go -------------------------------------------------------------------------------- /core/elog/stdout_writer_builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/elog/stdout_writer_builder.go -------------------------------------------------------------------------------- /core/emetric/README.md: -------------------------------------------------------------------------------- 1 | # metric 2 | 3 | -------------------------------------------------------------------------------- /core/emetric/counter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/counter.go -------------------------------------------------------------------------------- /core/emetric/counter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/counter_test.go -------------------------------------------------------------------------------- /core/emetric/gauge.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/gauge.go -------------------------------------------------------------------------------- /core/emetric/gauge_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/gauge_test.go -------------------------------------------------------------------------------- /core/emetric/histogram.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/histogram.go -------------------------------------------------------------------------------- /core/emetric/metric.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/metric.go -------------------------------------------------------------------------------- /core/emetric/summary.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/summary.go -------------------------------------------------------------------------------- /core/emetric/tcpstat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/tcpstat.go -------------------------------------------------------------------------------- /core/emetric/tcpstat_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/emetric/tcpstat_test.go -------------------------------------------------------------------------------- /core/eregistry/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eregistry/endpoint.go -------------------------------------------------------------------------------- /core/eregistry/endpoint_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eregistry/endpoint_test.go -------------------------------------------------------------------------------- /core/eregistry/nop.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eregistry/nop.go -------------------------------------------------------------------------------- /core/eregistry/nop_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eregistry/nop_test.go -------------------------------------------------------------------------------- /core/eregistry/registry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eregistry/registry.go -------------------------------------------------------------------------------- /core/eregistry/registry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/eregistry/registry_test.go -------------------------------------------------------------------------------- /core/esentinel/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/component.go -------------------------------------------------------------------------------- /core/esentinel/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/component_test.go -------------------------------------------------------------------------------- /core/esentinel/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/config.go -------------------------------------------------------------------------------- /core/esentinel/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/config_test.go -------------------------------------------------------------------------------- /core/esentinel/config_test/sentinel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/config_test/sentinel.json -------------------------------------------------------------------------------- /core/esentinel/config_test/test.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/config_test/test.toml -------------------------------------------------------------------------------- /core/esentinel/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/container.go -------------------------------------------------------------------------------- /core/esentinel/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/container_test.go -------------------------------------------------------------------------------- /core/esentinel/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/esentinel/readme.md -------------------------------------------------------------------------------- /core/etrace/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/etrace/README.md -------------------------------------------------------------------------------- /core/etrace/compatible.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/etrace/compatible.go -------------------------------------------------------------------------------- /core/etrace/compatible_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/etrace/compatible_test.go -------------------------------------------------------------------------------- /core/etrace/otel/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/etrace/otel/config.go -------------------------------------------------------------------------------- /core/etrace/otel/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/etrace/otel/config_test.go -------------------------------------------------------------------------------- /core/etrace/otel/option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/etrace/otel/option.go -------------------------------------------------------------------------------- /core/etrace/trace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/etrace/trace.go -------------------------------------------------------------------------------- /core/etrace/trace_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/etrace/trace_test.go -------------------------------------------------------------------------------- /core/standard/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/standard/component.go -------------------------------------------------------------------------------- /core/transport/grpc_transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/transport/grpc_transport.go -------------------------------------------------------------------------------- /core/transport/grpc_transport_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/transport/grpc_transport_test.go -------------------------------------------------------------------------------- /core/transport/header_transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/transport/header_transport.go -------------------------------------------------------------------------------- /core/transport/transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/transport/transport.go -------------------------------------------------------------------------------- /core/transport/transport_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/transport/transport_test.go -------------------------------------------------------------------------------- /core/util/xcolor/color.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xcolor/color.go -------------------------------------------------------------------------------- /core/util/xcycle/lifecycle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xcycle/lifecycle.go -------------------------------------------------------------------------------- /core/util/xcycle/lifecycle_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xcycle/lifecycle_test.go -------------------------------------------------------------------------------- /core/util/xdebug/print.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xdebug/print.go -------------------------------------------------------------------------------- /core/util/xdebug/print_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xdebug/print_test.go -------------------------------------------------------------------------------- /core/util/xmap/map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xmap/map.go -------------------------------------------------------------------------------- /core/util/xnet/ip.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xnet/ip.go -------------------------------------------------------------------------------- /core/util/xnet/ip_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xnet/ip_test.go -------------------------------------------------------------------------------- /core/util/xstring/conv.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xstring/conv.go -------------------------------------------------------------------------------- /core/util/xstring/conv_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xstring/conv_test.go -------------------------------------------------------------------------------- /core/util/xstring/function.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xstring/function.go -------------------------------------------------------------------------------- /core/util/xstring/function_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xstring/function_test.go -------------------------------------------------------------------------------- /core/util/xstring/json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xstring/json.go -------------------------------------------------------------------------------- /core/util/xstring/json_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xstring/json_test.go -------------------------------------------------------------------------------- /core/util/xstring/uuid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xstring/uuid.go -------------------------------------------------------------------------------- /core/util/xstring/uuid_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xstring/uuid_test.go -------------------------------------------------------------------------------- /core/util/xtime/xtime.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xtime/xtime.go -------------------------------------------------------------------------------- /core/util/xtime/xtime_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/core/util/xtime/xtime_test.go -------------------------------------------------------------------------------- /docs/images/client-grpc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/client-grpc.png -------------------------------------------------------------------------------- /docs/images/client-http.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/client-http.png -------------------------------------------------------------------------------- /docs/images/client-mysql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/client-mysql.png -------------------------------------------------------------------------------- /docs/images/client-redis.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/client-redis.jpg -------------------------------------------------------------------------------- /docs/images/client_grpc1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/client_grpc1.png -------------------------------------------------------------------------------- /docs/images/ego_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/ego_flow.png -------------------------------------------------------------------------------- /docs/images/ego_frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/ego_frame.png -------------------------------------------------------------------------------- /docs/images/frame.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/frame.jpeg -------------------------------------------------------------------------------- /docs/images/join.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/join.jpeg -------------------------------------------------------------------------------- /docs/images/metric.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/metric.png -------------------------------------------------------------------------------- /docs/images/startup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/startup.png -------------------------------------------------------------------------------- /docs/images/trace-arms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/trace-arms.png -------------------------------------------------------------------------------- /docs/images/trace-client-grpc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/trace-client-grpc.png -------------------------------------------------------------------------------- /docs/images/trace-server-grpc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/trace-server-grpc.png -------------------------------------------------------------------------------- /docs/images/trace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/trace.png -------------------------------------------------------------------------------- /docs/images/version.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/docs/images/version.png -------------------------------------------------------------------------------- /ego.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/ego.go -------------------------------------------------------------------------------- /ego_function.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/ego_function.go -------------------------------------------------------------------------------- /ego_function_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/ego_function_test.go -------------------------------------------------------------------------------- /ego_option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/ego_option.go -------------------------------------------------------------------------------- /ego_option_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/ego_option_test.go -------------------------------------------------------------------------------- /ego_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/ego_test.go -------------------------------------------------------------------------------- /examples/build/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/build/Makefile -------------------------------------------------------------------------------- /examples/build/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/build/config.toml -------------------------------------------------------------------------------- /examples/build/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/build/go.mod -------------------------------------------------------------------------------- /examples/build/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/build/go.sum -------------------------------------------------------------------------------- /examples/build/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/build/main.go -------------------------------------------------------------------------------- /examples/build/scripts/build/gobuild.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/build/scripts/build/gobuild.sh -------------------------------------------------------------------------------- /examples/build/scripts/build/report_build_info.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/build/scripts/build/report_build_info.sh -------------------------------------------------------------------------------- /examples/config/oneline-by-file-watch/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/config/oneline-by-file-watch/config.toml -------------------------------------------------------------------------------- /examples/config/oneline-by-file-watch/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/config/oneline-by-file-watch/main.go -------------------------------------------------------------------------------- /examples/config/oneline-by-file/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/config/oneline-by-file/config.toml -------------------------------------------------------------------------------- /examples/config/oneline-by-file/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/config/oneline-by-file/main.go -------------------------------------------------------------------------------- /examples/config/struct-by-file-watch/config.toml: -------------------------------------------------------------------------------- 1 | [people] 2 | name = "info" 3 | 4 | -------------------------------------------------------------------------------- /examples/config/struct-by-file-watch/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/config/struct-by-file-watch/main.go -------------------------------------------------------------------------------- /examples/config/struct-by-file/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/config/struct-by-file/config.toml -------------------------------------------------------------------------------- /examples/config/struct-by-file/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/config/struct-by-file/main.go -------------------------------------------------------------------------------- /examples/cost/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/cost/main.go -------------------------------------------------------------------------------- /examples/grpc/direct/client/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/direct/client/config.toml -------------------------------------------------------------------------------- /examples/grpc/direct/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/direct/client/main.go -------------------------------------------------------------------------------- /examples/grpc/direct/server/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/direct/server/config.toml -------------------------------------------------------------------------------- /examples/grpc/direct/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/direct/server/main.go -------------------------------------------------------------------------------- /examples/grpc/direct/server/server/init_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/direct/server/server/init_test.go -------------------------------------------------------------------------------- /examples/grpc/direct/server/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/direct/server/test.sh -------------------------------------------------------------------------------- /examples/grpc/errors/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/errors/README.md -------------------------------------------------------------------------------- /examples/grpc/errors/error.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/errors/error.sh -------------------------------------------------------------------------------- /examples/grpc/errors/errors.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/errors/errors.pb.go -------------------------------------------------------------------------------- /examples/grpc/errors/errors.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/errors/errors.proto -------------------------------------------------------------------------------- /examples/grpc/errors/errors_errors.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/errors/errors_errors.pb.go -------------------------------------------------------------------------------- /examples/grpc/header/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/header/Makefile -------------------------------------------------------------------------------- /examples/grpc/header/client/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/header/client/config.toml -------------------------------------------------------------------------------- /examples/grpc/header/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/header/client/main.go -------------------------------------------------------------------------------- /examples/grpc/header/server/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/header/server/config.toml -------------------------------------------------------------------------------- /examples/grpc/header/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/header/server/main.go -------------------------------------------------------------------------------- /examples/grpc/origin/client/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/origin/client/config.toml -------------------------------------------------------------------------------- /examples/grpc/origin/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/origin/client/main.go -------------------------------------------------------------------------------- /examples/grpc/origin/server/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/origin/server/config.toml -------------------------------------------------------------------------------- /examples/grpc/origin/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/origin/server/main.go -------------------------------------------------------------------------------- /examples/grpc/unix/client/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/unix/client/config.toml -------------------------------------------------------------------------------- /examples/grpc/unix/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/unix/client/main.go -------------------------------------------------------------------------------- /examples/grpc/unix/server/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/unix/server/config.toml -------------------------------------------------------------------------------- /examples/grpc/unix/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/unix/server/main.go -------------------------------------------------------------------------------- /examples/grpc/unix/server/server/init_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/grpc/unix/server/server/init_test.go -------------------------------------------------------------------------------- /examples/hello/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/hello/config.toml -------------------------------------------------------------------------------- /examples/hello/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/hello/main.go -------------------------------------------------------------------------------- /examples/helloworld/helloworld.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/helloworld/helloworld.pb.go -------------------------------------------------------------------------------- /examples/helloworld/helloworld.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/helloworld/helloworld.proto -------------------------------------------------------------------------------- /examples/helloworld/helloworld_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/helloworld/helloworld_grpc.pb.go -------------------------------------------------------------------------------- /examples/http/client/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/client/config.toml -------------------------------------------------------------------------------- /examples/http/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/client/main.go -------------------------------------------------------------------------------- /examples/http/grpc-proxy/config.toml: -------------------------------------------------------------------------------- 1 | [server.http] 2 | port = 9001 3 | -------------------------------------------------------------------------------- /examples/http/grpc-proxy/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/grpc-proxy/main.go -------------------------------------------------------------------------------- /examples/http/headeruid/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/headeruid/Makefile -------------------------------------------------------------------------------- /examples/http/headeruid/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/headeruid/config.toml -------------------------------------------------------------------------------- /examples/http/headeruid/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/headeruid/main.go -------------------------------------------------------------------------------- /examples/http/origin/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/origin/main.go -------------------------------------------------------------------------------- /examples/http/server/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/server/config.toml -------------------------------------------------------------------------------- /examples/http/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/http/server/main.go -------------------------------------------------------------------------------- /examples/logger/ali/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/logger/ali/main.go -------------------------------------------------------------------------------- /examples/logger/console/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/logger/console/main.go -------------------------------------------------------------------------------- /examples/logger/file/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/logger/file/main.go -------------------------------------------------------------------------------- /examples/logger/panic/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/logger/panic/main.go -------------------------------------------------------------------------------- /examples/logger/stderr/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/logger/stderr/main.go -------------------------------------------------------------------------------- /examples/logger/watch/config.toml: -------------------------------------------------------------------------------- 1 | [logger.default] 2 | level = "info" -------------------------------------------------------------------------------- /examples/logger/watch/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/logger/watch/main.go -------------------------------------------------------------------------------- /examples/sentinel/grpc/client/config/local.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/grpc/client/config/local.toml -------------------------------------------------------------------------------- /examples/sentinel/grpc/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/grpc/client/main.go -------------------------------------------------------------------------------- /examples/sentinel/grpc/server/config/local.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/grpc/server/config/local.toml -------------------------------------------------------------------------------- /examples/sentinel/grpc/server/config/sentinel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/grpc/server/config/sentinel.json -------------------------------------------------------------------------------- /examples/sentinel/grpc/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/grpc/server/main.go -------------------------------------------------------------------------------- /examples/sentinel/grpc/server/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/grpc/server/test.sh -------------------------------------------------------------------------------- /examples/sentinel/http/config/local.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/http/config/local.toml -------------------------------------------------------------------------------- /examples/sentinel/http/config/sentinel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/http/config/sentinel.json -------------------------------------------------------------------------------- /examples/sentinel/http/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/sentinel/http/main.go -------------------------------------------------------------------------------- /examples/server/governor/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/server/governor/config.toml -------------------------------------------------------------------------------- /examples/server/governor/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/server/governor/main.go -------------------------------------------------------------------------------- /examples/server/grpc/config.toml: -------------------------------------------------------------------------------- 1 | [server.grpc] 2 | port = 9005 3 | #enableLocalMainIP = true 获取网卡ip -------------------------------------------------------------------------------- /examples/server/grpc/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/server/grpc/main.go -------------------------------------------------------------------------------- /examples/server/http/readtimeout/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/server/http/readtimeout/config.toml -------------------------------------------------------------------------------- /examples/server/http/readtimeout/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/server/http/readtimeout/main.go -------------------------------------------------------------------------------- /examples/server/http/simple/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/server/http/simple/config.toml -------------------------------------------------------------------------------- /examples/server/http/simple/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/server/http/simple/main.go -------------------------------------------------------------------------------- /examples/task/cron/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/task/cron/config.toml -------------------------------------------------------------------------------- /examples/task/cron/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/task/cron/main.go -------------------------------------------------------------------------------- /examples/task/httpjob/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/task/httpjob/config.toml -------------------------------------------------------------------------------- /examples/task/httpjob/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/task/httpjob/main.go -------------------------------------------------------------------------------- /examples/task/job/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/task/job/config.toml -------------------------------------------------------------------------------- /examples/task/job/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/task/job/main.go -------------------------------------------------------------------------------- /examples/trace/grpc/client/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/trace/grpc/client/config.toml -------------------------------------------------------------------------------- /examples/trace/grpc/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/trace/grpc/client/main.go -------------------------------------------------------------------------------- /examples/trace/grpc/server/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/trace/grpc/server/config.toml -------------------------------------------------------------------------------- /examples/trace/grpc/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/trace/grpc/server/main.go -------------------------------------------------------------------------------- /examples/trace/http/client/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/trace/http/client/config.toml -------------------------------------------------------------------------------- /examples/trace/http/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/trace/http/client/main.go -------------------------------------------------------------------------------- /examples/trace/http/server/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/trace/http/server/config.toml -------------------------------------------------------------------------------- /examples/trace/http/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/examples/trace/http/server/main.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/go.sum -------------------------------------------------------------------------------- /internal/ecode/code.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/ecode/code.go -------------------------------------------------------------------------------- /internal/ecode/code_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/ecode/code_test.go -------------------------------------------------------------------------------- /internal/egrpcinteceptor/inteceptor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/egrpcinteceptor/inteceptor.go -------------------------------------------------------------------------------- /internal/egrpcinteceptor/inteceptor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/egrpcinteceptor/inteceptor_test.go -------------------------------------------------------------------------------- /internal/egrpcinteceptor/semconv.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/egrpcinteceptor/semconv.go -------------------------------------------------------------------------------- /internal/egrpclog/gopclog_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/egrpclog/gopclog_test.go -------------------------------------------------------------------------------- /internal/egrpclog/grpclog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/egrpclog/grpclog.go -------------------------------------------------------------------------------- /internal/ienv/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/ienv/env.go -------------------------------------------------------------------------------- /internal/ienv/env_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/ienv/env_test.go -------------------------------------------------------------------------------- /internal/retry/retry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/retry/retry.go -------------------------------------------------------------------------------- /internal/retry/retry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/retry/retry_test.go -------------------------------------------------------------------------------- /internal/test/errcode/errors.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/test/errcode/errors.pb.go -------------------------------------------------------------------------------- /internal/test/errcode/errors.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/test/errcode/errors.proto -------------------------------------------------------------------------------- /internal/test/errcode/errors_errors.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/test/errcode/errors_errors.pb.go -------------------------------------------------------------------------------- /internal/test/grpc_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/test/grpc_test.go -------------------------------------------------------------------------------- /internal/test/helloworld/helloworld.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/test/helloworld/helloworld.pb.go -------------------------------------------------------------------------------- /internal/test/helloworld/helloworld.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/test/helloworld/helloworld.proto -------------------------------------------------------------------------------- /internal/test/helloworld/helloworld_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/test/helloworld/helloworld_grpc.pb.go -------------------------------------------------------------------------------- /internal/tools/tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/tools/tools.go -------------------------------------------------------------------------------- /internal/tools/tools_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/tools/tools_test.go -------------------------------------------------------------------------------- /internal/util/color.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/util/color.go -------------------------------------------------------------------------------- /internal/util/color_windows.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/util/color_windows.go -------------------------------------------------------------------------------- /internal/util/map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/util/map.go -------------------------------------------------------------------------------- /internal/util/map_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/internal/util/map_test.go -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/package.json -------------------------------------------------------------------------------- /scripts/build/gobuild.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/scripts/build/gobuild.sh -------------------------------------------------------------------------------- /scripts/build/report_build_info.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/scripts/build/report_build_info.sh -------------------------------------------------------------------------------- /server/egin/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/component.go -------------------------------------------------------------------------------- /server/egin/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/component_test.go -------------------------------------------------------------------------------- /server/egin/component_websocket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/component_websocket.go -------------------------------------------------------------------------------- /server/egin/component_websocket_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/component_websocket_test.go -------------------------------------------------------------------------------- /server/egin/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/config.go -------------------------------------------------------------------------------- /server/egin/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/config_test.go -------------------------------------------------------------------------------- /server/egin/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/const.go -------------------------------------------------------------------------------- /server/egin/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/container.go -------------------------------------------------------------------------------- /server/egin/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/container_test.go -------------------------------------------------------------------------------- /server/egin/grpc_proxy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/grpc_proxy.go -------------------------------------------------------------------------------- /server/egin/grpc_proxy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/grpc_proxy_test.go -------------------------------------------------------------------------------- /server/egin/interceptor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/interceptor.go -------------------------------------------------------------------------------- /server/egin/interceptor_cost.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/interceptor_cost.go -------------------------------------------------------------------------------- /server/egin/interceptor_gzip.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/interceptor_gzip.go -------------------------------------------------------------------------------- /server/egin/interceptor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/interceptor_test.go -------------------------------------------------------------------------------- /server/egin/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/options.go -------------------------------------------------------------------------------- /server/egin/options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/options_test.go -------------------------------------------------------------------------------- /server/egin/testdata/ego-client/any-client-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-client/any-client-key.pem -------------------------------------------------------------------------------- /server/egin/testdata/ego-client/any-client.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-client/any-client.csr -------------------------------------------------------------------------------- /server/egin/testdata/ego-client/any-client.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-client/any-client.pem -------------------------------------------------------------------------------- /server/egin/testdata/ego-client/ca-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-client/ca-config.json -------------------------------------------------------------------------------- /server/egin/testdata/ego-client/ca-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-client/ca-key.pem -------------------------------------------------------------------------------- /server/egin/testdata/ego-client/ca.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-client/ca.csr -------------------------------------------------------------------------------- /server/egin/testdata/ego-client/ca.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-client/ca.pem -------------------------------------------------------------------------------- /server/egin/testdata/ego-server/ca-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-server/ca-config.json -------------------------------------------------------------------------------- /server/egin/testdata/ego-server/ca-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-server/ca-key.pem -------------------------------------------------------------------------------- /server/egin/testdata/ego-server/ca.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-server/ca.csr -------------------------------------------------------------------------------- /server/egin/testdata/ego-server/ca.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-server/ca.pem -------------------------------------------------------------------------------- /server/egin/testdata/ego-server/ego-server-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-server/ego-server-key.pem -------------------------------------------------------------------------------- /server/egin/testdata/ego-server/ego-server.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-server/ego-server.csr -------------------------------------------------------------------------------- /server/egin/testdata/ego-server/ego-server.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egin/testdata/ego-server/ego-server.pem -------------------------------------------------------------------------------- /server/egovernor/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egovernor/component.go -------------------------------------------------------------------------------- /server/egovernor/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egovernor/component_test.go -------------------------------------------------------------------------------- /server/egovernor/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egovernor/config.go -------------------------------------------------------------------------------- /server/egovernor/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egovernor/config_test.go -------------------------------------------------------------------------------- /server/egovernor/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egovernor/container.go -------------------------------------------------------------------------------- /server/egovernor/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egovernor/container_test.go -------------------------------------------------------------------------------- /server/egovernor/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egovernor/options.go -------------------------------------------------------------------------------- /server/egovernor/options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egovernor/options_test.go -------------------------------------------------------------------------------- /server/egrpc/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/component.go -------------------------------------------------------------------------------- /server/egrpc/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/component_test.go -------------------------------------------------------------------------------- /server/egrpc/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/config.go -------------------------------------------------------------------------------- /server/egrpc/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/config_test.go -------------------------------------------------------------------------------- /server/egrpc/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/container.go -------------------------------------------------------------------------------- /server/egrpc/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/container_test.go -------------------------------------------------------------------------------- /server/egrpc/interceptor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/interceptor.go -------------------------------------------------------------------------------- /server/egrpc/interceptor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/interceptor_test.go -------------------------------------------------------------------------------- /server/egrpc/opitons.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/opitons.go -------------------------------------------------------------------------------- /server/egrpc/options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/egrpc/options_test.go -------------------------------------------------------------------------------- /server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/server.go -------------------------------------------------------------------------------- /server/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/server/server_test.go -------------------------------------------------------------------------------- /signal_posix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/signal_posix.go -------------------------------------------------------------------------------- /signal_windows.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/signal_windows.go -------------------------------------------------------------------------------- /signals_unix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/signals_unix.go -------------------------------------------------------------------------------- /signals_windows.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/signals_windows.go -------------------------------------------------------------------------------- /sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/sonar-project.properties -------------------------------------------------------------------------------- /task/ecron/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/component.go -------------------------------------------------------------------------------- /task/ecron/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/component_test.go -------------------------------------------------------------------------------- /task/ecron/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/config.go -------------------------------------------------------------------------------- /task/ecron/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/container.go -------------------------------------------------------------------------------- /task/ecron/lock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/lock.go -------------------------------------------------------------------------------- /task/ecron/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/options.go -------------------------------------------------------------------------------- /task/ecron/options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/options_test.go -------------------------------------------------------------------------------- /task/ecron/scheduler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/scheduler.go -------------------------------------------------------------------------------- /task/ecron/wrappedjob.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/wrappedjob.go -------------------------------------------------------------------------------- /task/ecron/wrappedlogger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ecron/wrappedlogger.go -------------------------------------------------------------------------------- /task/ejob/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ejob/component.go -------------------------------------------------------------------------------- /task/ejob/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ejob/component_test.go -------------------------------------------------------------------------------- /task/ejob/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ejob/config.go -------------------------------------------------------------------------------- /task/ejob/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ejob/container.go -------------------------------------------------------------------------------- /task/ejob/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ejob/container_test.go -------------------------------------------------------------------------------- /task/ejob/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ejob/options.go -------------------------------------------------------------------------------- /task/ejob/options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/task/ejob/options_test.go -------------------------------------------------------------------------------- /test/gracefulstop/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/test/gracefulstop/config.toml -------------------------------------------------------------------------------- /test/gracefulstop/gracefulstop.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/test/gracefulstop/gracefulstop.md -------------------------------------------------------------------------------- /test/gracefulstop/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/test/gracefulstop/main.go -------------------------------------------------------------------------------- /test/zerodowntime/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/test/zerodowntime/config.toml -------------------------------------------------------------------------------- /test/zerodowntime/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/test/zerodowntime/main.go -------------------------------------------------------------------------------- /test/zerodowntime/zerodowntime.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gotomicro/ego/HEAD/test/zerodowntime/zerodowntime.md --------------------------------------------------------------------------------