{"modulePath":"github.com/onexstack/onexmesh","version":"v0.0.6","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/onexstack/onexmesh/cmd/onexmeshctl","name":"main","synopsis":"onexmeshctl is the CLI tool for the OneXMesh microservice framework.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-errno","name":"main","synopsis":"Command protoc-gen-errno is a protoc plugin that turns a proto enum into a semantic error catalog, one constructor per value.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh","name":"main","synopsis":"Command protoc-gen-onexmesh is a protoc plugin that generates HTTP route descriptors for a service whose methods carry the onexmesh.v1.http annotation (see pkg/proto/onexmesh/v1/http.proto).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client","name":"main","synopsis":"protoc-gen-onexmesh-client is a plugin for the protocol buffer compiler that generates a client-go style REST SDK (clientset + typed clients + scheme + fake + informers + listers + applyconfigurations) from protobuf IDL, plus a mesh-aware gRPC client for services flagged with onexmesh.v1.mesh_service.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators","name":"generators","synopsis":"Package generators holds the code generators that produce the client-go style REST SDK.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/applycfg","name":"applycfg","synopsis":"Package applycfg generates per-version apply configuration types (\u003cKind\u003eApplyConfiguration) that power server-side apply through the gentype ClientWithListAndApply / FakeClientWithListAndApply variants.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/fake","name":"fake","synopsis":"Package fake generates the fake clientset and fake typed clients, enabling in-memory CRUD for testing (mirroring k8s.io/client-go's fake package).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/informer","name":"informer","synopsis":"Package informer generates the informers/ subtree (factory, group/version interfaces, per-resource informers) in the client-go style.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/lister","name":"lister","synopsis":"Package lister generates listers/\u003cgroup\u003e/\u003cversion\u003e/\u003ckind\u003e.go and the expansion interfaces, in the client-go style (backed by k8s.io/client-go/listers.ResourceIndexer).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/mesh","name":"mesh","synopsis":"Package mesh renders the onexmesh service-discovery client for a gRPC service, generated only when the file declares onexmesh.v1.mesh_service.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/meta","name":"meta","synopsis":"Package meta generates the zz_generated.meta.go adapter that makes a generated proto message satisfy runtime.Object and metav1.Object, the type constraints required by k8s.io/client-go/gentype.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/register","name":"register","synopsis":"Package register generates zz_generated.register.go, which registers the resource types of a group/version into a runtime.Scheme (mirroring the output of k8s.io/code-generator's register-gen).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/scheme","name":"scheme","synopsis":"Package scheme generates the clientset scheme/register.go, which aggregates the AddToScheme of every group/version into a single runtime.Scheme.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/templates","name":"templates","synopsis":"Package templates renders the client-go style SDK source from the spec IR via text/template.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/generators/typed","name":"typed","synopsis":"Package typed generates the clientset, per-group client and per-resource typed client files in the client-go style (gentype-backed).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/cmd/protoc-gen-onexmesh-client/internal/spec","name":"spec","synopsis":"Package spec defines the intermediate representation consumed by all generators.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/apis/apps/v1","name":"appsv1","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/helloworld/client","name":"main","synopsis":"helloworld-client discovers the Greeter service by name and calls it over both gRPC and HTTP (Protobuf body).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/helloworld/proto","name":"helloworld","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/helloworld/server","name":"main","synopsis":"helloworld-server 演示 OneXMesh 的「protobuf IDL 驱动的 gRPC + Gin 统一」：","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient","name":"exampleclient","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/applyconfigurations/apps/v1","name":"v1","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/fake","name":"fake","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/informers","name":"informers","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/informers/apps","name":"apps","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/informers/apps/v1","name":"v1","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/informers/internalinterfaces","name":"internalinterfaces","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/listers/apps/v1","name":"v1","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/scheme","name":"scheme","synopsis":"Package scheme contains the scheme for this clientset.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/typed/apps/v1","name":"v1","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/examples/pkg/generated/exampleclient/typed/apps/v1/fake","name":"fake","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/broker","name":"broker","synopsis":"Package broker defines an asynchronous publish/subscribe abstraction with acknowledgement semantics, modeled after go-micro's Broker.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/broker/memory","name":"memory","synopsis":"Package memory provides an in-process broker.Broker for tests and single-node deployments.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/broker/redis","name":"redis","synopsis":"Package redis provides a Redis Streams-backed broker.Broker with at-least-once delivery and explicit Ack.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/client","name":"client","synopsis":"Package client provides the stable service-discovery runtime API consumed by generated SDKs: it resolves a service name (e.g.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/client/balancer","name":"balancer","synopsis":"Package balancer adapts onexmesh's selector to a gRPC balancer so the framework's load-balancing strategies (round_robin, weighted, p2c, ...) are used by the gRPC client instead of grpc's built-in balancers.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/client/internal/clientspan","name":"clientspan","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/client/rest","name":"rest","synopsis":"Package rest provides a mesh-aware transport for client-go's rest.Config.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/codec","name":"codec","synopsis":"Package codec provides content-type-aware message marshalers for the HTTP transport, supporting JSON and Protobuf bodies.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/config","name":"config","synopsis":"Package config provides a layered configuration abstraction inspired by go-micro: Source (data origin) -\u003e Loader (decode + merge) -\u003e Reader (random access) -\u003e Value (typed access).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/config/source/file","name":"file","synopsis":"Package file implements a local-file config.Source with polling-based hot-reload.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/config/source/polaris","name":"polaris","synopsis":"Package polaris implements a config.Source backed by the Polaris config center (github.com/polarismesh/polaris-go).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/bytebufferpool","name":"bytebufferpool","synopsis":"Package bytebufferpool provides a self-calibrating pool of byte buffers, bucketed by capacity, that reduces GC pressure on byte-heavy hot paths such as codec marshaling and broker payload encoding.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/chain","name":"chain","synopsis":"Package chain provides a generic chain-of-responsibility helper shared by the middleware and resilience packages, which define the same Handler/Middleware decorator shape but over different handler types.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/collection","name":"collection","synopsis":"Package collection provides concurrency-safe generic collections used by the resilience primitives: a rolling window for time-bucketed statistics and a safe map that avoids the Go map-delete memory-growth issue.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/contextx","name":"contextx","synopsis":"Package contextx provides context helpers.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/executors","name":"executors","synopsis":"Package executors provides batching executors that coalesce sporadic tasks into fewer, larger executions: periodical (time-driven), bulk (count-driven), delay (debounced), chunk (byte-size-driven) and less (rate-limited).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/limit","name":"limit","synopsis":"Package limit provides a channel-based semaphore for bounding concurrency.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/mathx","name":"mathx","synopsis":"Package mathx provides small numeric helpers used by the core components: a deviation-based jitter around a value and a probabilistic boolean.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/mr","name":"mr","synopsis":"Package mr provides a generic MapReduce with a bounded worker pool, guarded channel writes and first-error cancellation.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/stat","name":"stat","synopsis":"Package stat exposes smoothed system-level statistics.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/syncx","name":"syncx","synopsis":"Package syncx provides small concurrency primitives used across the core components: a single-flight group with freshness reporting and a spin lock for very short critical sections.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/core/timex","name":"timex","synopsis":"Package timex provides a Ticker abstraction with a fake implementation for deterministic, clock-injectable tests of periodic logic.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/errno","name":"errno","synopsis":"Package errno defines framework-level sentinel errors for onexmesh.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/event","name":"event","synopsis":"Package event provides a lightweight in-process event bus and queue, modeled on kitex's pkg/event.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/metadata","name":"metadata","synopsis":"Package metadata provides a canonical map[string]string carried across RPC and message boundaries, plus helpers to attach and read it from a context.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/middleware","name":"middleware","synopsis":"Package middleware defines a protocol-agnostic middleware abstraction that serves both HTTP (gin) and gRPC transports.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/middleware/matcher","name":"matcher","synopsis":"Package matcher provides route-level middleware selection: it maps a transport operation to the middlewares that apply to it, so different endpoints can carry different cross-cutting concerns (e.g.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/options","name":"options","synopsis":"Package options defines the configuration option structs for onexmesh, following the onex IOptions convention: each option implements Validate and AddFlags (with a full prefix), and is combined into a ServerOptions root.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/otel/empty","name":"empty","synopsis":"Package empty provides a no-op OpenTelemetry span exporter used to keep the classic output mode uniform (a real TracerProvider with a silent exporter).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/otelslog","name":"otelslog","synopsis":"Package otelslog provides Handler, an slog.Handler implementation, that can be used to bridge between the log/slog API and [OpenTelemetry].","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/proto/onexmesh/meta/v1","name":"meshmeta","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/proto/onexmesh/rest/v1","name":"restv1","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/proto/onexmesh/v1","name":"onexmeshv1","synopsis":"","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/ratelimit","name":"ratelimit","synopsis":"Package ratelimit provides local rate-limiting primitives: a token bucket, a leaky bucket, and a concurrency limiter.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/ratelimit/store/memory","name":"memory","synopsis":"Package memory provides an in-process ratelimit.Store.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/ratelimit/store/redis","name":"redis","synopsis":"Package redis provides a Redis-backed ratelimit.Store using atomic Lua scripts, for distributed rate limiting across multiple instances.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry","name":"registry","synopsis":"Package registry defines the service registration and discovery abstraction for onexmesh.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/all","name":"all","synopsis":"Package all blank-imports every built-in registry backend so their init() functions self-register a registry.Backend (and the legacy registrar/discovery factories).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/cache","name":"cache","synopsis":"Package cache wraps a registry.Discovery with a resilient read-through cache inspired by go-micro's registry cache.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/consul","name":"consul","synopsis":"Package consul implements onexmesh registry.Registrar and registry.Discovery backed by HashiCorp Consul (github.com/hashicorp/consul/api).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/etcd","name":"etcd","synopsis":"Package etcd implements onexmesh registry.Registrar and registry.Discovery backed by etcd, using leases for automatic instance expiry (TTL) and prefix watch for change notifications.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/eureka","name":"eureka","synopsis":"Package eureka implements onexmesh registry.Registrar and registry.Discovery against a Netflix Eureka server over its REST API, using net/http only.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/kubernetes","name":"kubernetes","synopsis":"Package kubernetes implements onexmesh registry.Discovery by discovering Pods through Kubernetes EndpointSlices.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/nacos","name":"nacos","synopsis":"Package nacos implements onexmesh registry.Registrar and registry.Discovery backed by the Nacos service discovery (github.com/nacos-group/nacos-sdk-go).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/polaris","name":"polaris","synopsis":"Package polaris implements onexmesh registry.Registrar and registry.Discovery backed by the Polaris service mesh (github.com/polarismesh/polaris-go).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/registry/static","name":"static","synopsis":"Package static implements onexmesh registry.Discovery over a fixed address list, so a client can talk to a known ip:port without a service registry.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/resilience","name":"resilience","synopsis":"Package resilience provides client-side resilience primitives: circuit breaker, retry and timeout, composed as middleware around a Handler.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/resiliency","name":"resiliency","synopsis":"Package resiliency provides declarative, configuration-driven resilience policies (timeouts, retries and circuit breakers) bound to service endpoints, modeled after Dapr's resiliency policy model.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/selector","name":"selector","synopsis":"Package selector provides pluggable load-balancing over a set of nodes, with optional result feedback via DoneFunc so strategies can adapt to per-node health (strategy pattern + feedback loop).","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/selector/p2c","name":"p2c","synopsis":"Package p2c implements a power-of-two-choices selector with time-decayed EWMA latency and success tracking, inspired by go-zero's p2c_ewma.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/selector/random","name":"random","synopsis":"Package random provides a uniformly random selector.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/selector/roundrobin","name":"roundrobin","synopsis":"Package roundrobin provides a round-robin selector.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/selector/weighted","name":"weighted","synopsis":"Package weighted provides a weight-aware random selector.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/server","name":"server","synopsis":"Package server defines the server lifecycle abstraction and concrete HTTP (gin) and gRPC servers, wired to service registration for graceful deregister-before-stop.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/transport","name":"transport","synopsis":"Package transport provides a protocol-agnostic abstraction that unifies HTTP and gRPC request/response metadata.","isRedistributable":true},{"path":"github.com/onexstack/onexmesh/pkg/version","name":"version","synopsis":"Package version provides build version information, injected via ldflags.","isRedistributable":true}],"total":87}}
