Directories ¶
Path | Synopsis |
---|---|
Package auth defines standard interface for authentication.
|
Package auth defines standard interface for authentication. |
jwt
Package jwt implements authentication interfaces using JWT.
|
Package jwt implements authentication interfaces using JWT. |
Package broker defines standard interface for a message broker.
|
Package broker defines standard interface for a message broker. |
memory
Package memory provides a message broker using memory.
|
Package memory provides a message broker using memory. |
Package client define some utilities for dialing to target gRPC server.
|
Package client define some utilities for dialing to target gRPC server. |
Package config defines standard interfaces for a config reader/writer.
|
Package config defines standard interfaces for a config reader/writer. |
envconfig
Package envconfig provides a convenient way to load config from environment variables into a struct using https://github.com/kelseyhightower/envconfig.
|
Package envconfig provides a convenient way to load config from environment variables into a struct using https://github.com/kelseyhightower/envconfig. |
examples
|
|
helloworld/helloworld
Package helloworld is a reverse proxy.
|
Package helloworld is a reverse proxy. |
helloworld/server
Package main provide an implementation example of gRPC using micro.
|
Package main provide an implementation example of gRPC using micro. |
Package health defines standard interfaces and utilities for health checks.
|
Package health defines standard interfaces and utilities for health checks. |
Package log provides an easy-to-use and structured logger.
|
Package log provides an easy-to-use and structured logger. |
plugins
|
|
broker/nats
Module
|
|
cache/redis
Module
|
|
Package server provides a convenient way to create or start a new server that serves both gRPC and HTTP over 1 single port with default useful APIs for authentication, health check, metrics,...
|
Package server provides a convenient way to create or start a new server that serves both gRPC and HTTP over 1 single port with default useful APIs for authentication, health check, metrics,... |
Package status provide wrapper of package status, codes of grpc-go and some utilities for working with status, errors.
|
Package status provide wrapper of package status, codes of grpc-go and some utilities for working with status, errors. |
util
|
|
reflectutil
Package reflectutil provides some convenient utilities for working with reflect.
|
Package reflectutil provides some convenient utilities for working with reflect. |
validator
Package validator provides convenient utilities for validation.
|
Package validator provides convenient utilities for validation. |
Click to show internal directories.
Click to hide internal directories.