Directories
¶
| Path | Synopsis |
|---|---|
|
api
module
|
|
|
client
module
|
|
|
proto
module
|
|
|
proto/api
module
|
|
|
proto/api/proto
module
|
|
|
auth
module
|
|
|
jwt
module
|
|
|
broker
module
|
|
|
client
module
|
|
|
grpc
module
|
|
|
router
module
|
|
|
selector
module
|
|
|
selector/static
module
|
|
|
client
Package cli is a command line interface
|
Package cli is a command line interface |
|
client/gen
Package gen provides the micro gen command which simply runs go generate
|
Package gen provides the micro gen command which simply runs go generate |
|
client/init
Package init provides the micro init command for initialising plugins and imports
|
Package init provides the micro init command for initialising plugins and imports |
|
client/new
Package new generates micro service templates
|
Package new generates micro service templates |
|
client/run
Package runtime is the micro runtime
|
Package runtime is the micro runtime |
|
client/shutdown
Package shutdown will issue a shutdown signal
|
Package shutdown will issue a shutdown signal |
|
client/store
Package cli implements the `micro store` subcommands for example:
|
Package cli implements the `micro store` subcommands for example: |
|
client/token
Package token contains CLI client token related helpers tToken files consist of one line per token, each token having the structure of `micro://envAddress/namespace[/id]:token`, ie.
|
Package token contains CLI client token related helpers tToken files consist of one line per token, each token having the structure of `micro://envAddress/namespace[/id]:token`, ie. |
|
client/user
Package user handles the user cli command
|
Package user handles the user cli command |
|
client/util
Package cliutil contains methods used across all cli commands @todo: get rid of os.Exits and use errors instread
|
Package cliutil contains methods used across all cli commands @todo: get rid of os.Exits and use errors instread |
|
micro
command
|
|
|
protoc-gen-micro
command
protoc-gen-micro is a plugin for the Google protocol buffer compiler to generate Go code.
|
protoc-gen-micro is a plugin for the Google protocol buffer compiler to generate Go code. |
|
protoc-gen-micro/generator
The code generator for the plugin for the Google protocol buffer compiler.
|
The code generator for the plugin for the Google protocol buffer compiler. |
|
server
Package server is the micro server which runs the whole system
|
Package server is the micro server which runs the whole system |
|
web
Package web is a web dashboard
|
Package web is a web dashboard |
|
cli
module
|
|
|
go-micro
module
|
|
|
pkg
module
|
|
|
pkg/service
module
|
|
|
pkg/service/proto
module
|
|
|
proto-gen-micro
module
|
|
|
protoc-gen-micro/examples
module
|
|
|
protoc-gen-micro/plugin
module
|
|
|
protoc-gen-openapi
module
|
|
|
protoc-get-micro
module
|
|
|
config
module
|
|
|
source
module
|
|
|
source/file
module
|
|
|
debug
module
|
|
|
log
module
|
|
|
errors
module
|
|
|
examples
module
|
|
|
go-micro
module
|
|
|
logger
module
|
|
|
metadata
module
|
|
|
micro
module
|
|
|
go-micro
module
|
|
|
pkg
module
|
|
|
service
module
|
|
|
service/proto
module
|
|
|
plugin
module
|
|
|
registry
module
|
|
|
registry/etcd
module
|
|
|
plugins
module
|
|
|
selector
module
|
|
|
selector/static
module
|
|
|
server
module
|
|
|
server/http
module
|
|
|
server/http/v4/web
module
|
|
|
v4/broker
module
|
|
|
v4/broker/kafka
module
|
|
|
proto
module
|
|
|
api
module
|
|
|
network
module
|
|
|
router
module
|
|
|
protoc-gen-micro
module
|
|
|
protoc-gen-openapi
module
|
|
|
registry
module
|
|
|
etcd
module
|
|
|
selector
module
|
|
|
server
module
|
|
|
grpc
module
|
|
|
logger
module
|
|
|
service
module
|
|
|
api/handler
Package handler provides http handlers
|
Package handler provides http handlers |
|
api/handler/rpc
Package rpc is a go-micro rpc handler.
|
Package rpc is a go-micro rpc handler. |
|
api/router
Package router provides api service routing
|
Package router provides api service routing |
|
api/router/registry
Package registry provides a dynamic api service router
|
Package registry provides a dynamic api service router |
|
api/server/http
Package http provides a http server with features; acme, cors, etc
|
Package http provides a http server with features; acme, cors, etc |
|
auth/jwt
Package jwt is a jwt implementation of the auth interface
|
Package jwt is a jwt implementation of the auth interface |
|
broker
Package broker is the micro broker
|
Package broker is the micro broker |
|
broker/memory
Package memory provides a memory broker
|
Package memory provides a memory broker |
|
client
Package client is an interface for an RPC client
|
Package client is an interface for an RPC client |
|
client/grpc
Package grpc provides a gRPC client
|
Package grpc provides a gRPC client |
|
config
Package config is an interface for dynamic configuration.
|
Package config is an interface for dynamic configuration. |
|
config/env
Package env provides config from environment variables
|
Package env provides config from environment variables |
|
context
Package context provides a context for accessing services
|
Package context provides a context for accessing services |
|
errors
Package errors provides a way to return detailed information for an RPC request error.
|
Package errors provides a way to return detailed information for an RPC request error. |
|
events
Package events is for event streaming and storage
|
Package events is for event streaming and storage |
|
logger
Package log provides a log interface
|
Package log provides a log interface |
|
model
Package model for managing data access
|
Package model for managing data access |
|
model/sql
Package sql is for a sql database model
|
Package sql is for a sql database model |
|
profile
Package profile is for specific profiles @todo this package is the definition of cruft and should be rewritten in a more elegant way
|
Package profile is for specific profiles @todo this package is the definition of cruft and should be rewritten in a more elegant way |
|
registry
Package registry is the micro registry
|
Package registry is the micro registry |
|
registry/cache
Package cache provides a registry cache
|
Package cache provides a registry cache |
|
registry/memory
Package memory provides an in-memory registry
|
Package memory provides an in-memory registry |
|
registry/noop
Package noop is a registry which does nothing
|
Package noop is a registry which does nothing |
|
runtime
Package runtime is a service runtime manager
|
Package runtime is a service runtime manager |
|
runtime/build/util/tar
Package tar is a wrapper around archive/tar, it's used for archiving and unarchiving source from and into folders on the host.
|
Package tar is a wrapper around archive/tar, it's used for archiving and unarchiving source from and into folders on the host. |
|
runtime/build/util/zip
Package zip is a wrapper around archive/zip, it's used for archiving and unarchiving source from and into folders on the host.
|
Package zip is a wrapper around archive/zip, it's used for archiving and unarchiving source from and into folders on the host. |
|
runtime/local/process
Package process executes a binary
|
Package process executes a binary |
|
runtime/local/process/os
Package os runs processes locally
|
Package os runs processes locally |
|
runtime/local/test/bar
command
Package main is used to test the local runtime, specifically the entrypoint function
|
Package main is used to test the local runtime, specifically the entrypoint function |
|
runtime/local/test/foo/cmd/bar
command
Package main is used to test the local runtime, specifically the entrypoint function
|
Package main is used to test the local runtime, specifically the entrypoint function |
|
runtime/local/test/foo/cmd/baz
command
Package main is used to test the local runtime, specifically the entrypoint function
|
Package main is used to test the local runtime, specifically the entrypoint function |
|
runtime/local/test/qux/cmd/test
command
Package main is used to test the local runtime, specifically the entrypoint function
|
Package main is used to test the local runtime, specifically the entrypoint function |
|
runtime/source
Package source retrieves source code
|
Package source retrieves source code |
|
runtime/source/go
Package golang is a source for Go
|
Package golang is a source for Go |
|
server/grpc
Package grpc provides a grpc server
|
Package grpc provides a grpc server |
|
store
Package store is an interface for distributed data storage.
|
Package store is an interface for distributed data storage. |
|
store/file
Package local is a file system backed store
|
Package local is a file system backed store |
|
store/memory
Package memory is a in-memory store store
|
Package memory is a in-memory store store |
|
api/server
module
|
|
|
cmd
module
|
|
|
codec
module
|
|
|
codec/json
module
|
|
|
context/metadata
module
|
|
|
events/stream
module
|
|
|
grpc
module
|
|
|
metadata
module
|
|
|
pkg
module
|
|
|
pkg/cache
module
|
|
|
pkg/service
module
|
|
|
pkg/service/proto
module
|
|
|
pkg/tracing
module
|
|
|
proxy
module
|
|
|
registry/consul
module
|
|
|
registry/etcd
module
|
|
|
registry/etcdv3
module
|
|
|
runtime/build/util
module
|
|
|
services
module
|
|
|
services/pkg
module
|
|
|
services/pkg/gorm
module
|
|
|
time
module
|
|
|
time/handler
module
|
|
|
time/proto
module
|
|
|
web
module
|
|
|
servicecodec
module
|
|
|
json
module
|
|
|
servicelogger
module
|
|
|
services
module
|
|
|
helloworld
module
|
|
|
helloworld/proto
module
|
|
|
pkg
module
|
|
|
pkg/gorm
module
|
|
|
pkg/tenant
module
|
|
|
pkg/tracing
module
|
|
|
store
module
|
|
|
file
module
|
|
|
fakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
transport
module
|
|
|
kafka
module
|
|
|
util
module
|
|
|
backoff
Package backoff provides backoff functionality
|
Package backoff provides backoff functionality |
|
codec
Package codec is an interface for encoding messages
|
Package codec is an interface for encoding messages |
|
codec/bytes
Package bytes provides a bytes codec which does not encode or decode anything
|
Package bytes provides a bytes codec which does not encode or decode anything |
|
codec/grpc
Package grpc provides a grpc codec
|
Package grpc provides a grpc codec |
|
codec/json
Package json provides a json codec
|
Package json provides a json codec |
|
codec/jsonrpc
Package jsonrpc provides a json-rpc 1.0 codec
|
Package jsonrpc provides a json-rpc 1.0 codec |
|
codec/proto
Package proto provides a proto codec
|
Package proto provides a proto codec |
|
codec/protorpc
Protorpc provides a net/rpc proto-rpc codec.
|
Protorpc provides a net/rpc proto-rpc codec. |
|
codec/text
Package text reads any text/* content-type
|
Package text reads any text/* content-type |
|
config
Package config contains helper methods for client side config management (`~/.micro/config.json` file).
|
Package config contains helper methods for client side config management (`~/.micro/config.json` file). |
|
muxer
Package muxer provides proxy muxing
|
Package muxer provides proxy muxing |
|
proxy
Package proxy is a transparent proxy built on the go-micro/server
|
Package proxy is a transparent proxy built on the go-micro/server |
|
proxy/grpc
Package grpc is a grpc proxy built for the go-micro/server
|
Package grpc is a grpc proxy built for the go-micro/server |
|
proxy/http
Package http provides a micro rpc to http proxy
|
Package http provides a micro rpc to http proxy |
|
qson
Package qson implmenets decoding of URL query params into JSON and Go values (using JSON struct tags).
|
Package qson implmenets decoding of URL query params into JSON and Go values (using JSON struct tags). |
|
ring
Package ring provides a simple ring buffer for storing local data
|
Package ring provides a simple ring buffer for storing local data |
|
selector
Package selector is for node selection and load balancing
|
Package selector is for node selection and load balancing |
|
sync
Package sync is an interface for distributed synchronization
|
Package sync is an interface for distributed synchronization |
|
sync/memory
Package memory provides a sync.Mutex implementation of the lock for local use
|
Package memory provides a sync.Mutex implementation of the lock for local use |
|
opentelemetry
module
|
|
|
opentelemetry/jaeger
module
|
|
|
v4
|
|
|
cmd
module
|
|
|
cmd/protoc-gen-micro
module
|
Click to show internal directories.
Click to hide internal directories.