pkg/

directory
v0.0.0-...-ba70d0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2025 License: Apache-2.0

README

pkg/ is a collection of utility packages used by Celestinal without being specific to Celestinal itself. A package belongs here only if it could possibly be moved out into its own repository in the future.

Directories

Path Synopsis
cache
mem
Package mem implements a memory cache
Package mem implements a memory cache
redis
Package redis provides an implementation of the caching using redis.
Package redis provides an implementation of the caching using redis.
Package color provides text coloring.
Package color provides text coloring.
Package config provides the configs for the service.
Package config provides the configs for the service.
Package context provides a context with a message.
Package context provides a context with a message.
Package copier provides functions to copy objects.
Package copier provides functions to copy objects.
Package crypto provides a simple crypto library for the application.
Package crypto provides a simple crypto library for the application.
Package database provides the database interface.
Package database provides the database interface.
es
Package es provides an implementation of the database using elasticsearch.
Package es provides an implementation of the database using elasticsearch.
internal
Package internal not share external module
Package internal not share external module
kv
Package kv implement key-value storage base on postgresql
Package kv implement key-value storage base on postgresql
sql
Package sql provides an implementation of the database using PostgreSQL.
Package sql provides an implementation of the database using PostgreSQL.
Package decor provides a simple way to decorate functions with context
Package decor provides a simple way to decorate functions with context
driver
db
Package db implement database driver
Package db implement database driver
db/pg
Package pg implement database driver for PostgreSQL using pgxpool
Package pg implement database driver for PostgreSQL using pgxpool
se
Package se implement search engine
Package se implement search engine
Package errors provide all type of error in celestinal universal
Package errors provide all type of error in celestinal universal
Package flag provide flag variable props
Package flag provide flag variable props
grpc
client
Package client provides the grpc client for the greeter service.
Package client provides the grpc client for the greeter service.
Package locale provides the locale of the celestinal
Package locale provides the locale of the celestinal
Package logger provides the logger for the service.
Package logger provides the logger for the service.
internal
Package internal provides the logger for the package.
Package internal provides the logger for the package.
Package names provide name of all service at celestinal
Package names provide name of all service at celestinal
Package noti provide functions log by telegram bot
Package noti provide functions log by telegram bot
Package protobuf provides utilities for working with protobuf messages.
Package protobuf provides utilities for working with protobuf messages.
proto
Package proto provides the proto package.
Package proto provides the proto package.
types
Package types provides the types for the service.
Package types provides the types for the service.
Package striker provides the core setting for the application.
Package striker provides the core setting for the application.
internal
Package internal provides the internal function for the striker.
Package internal provides the internal function for the striker.
skgrpc
Package skgrpc provides a gRPC server for the celestinal.
Package skgrpc provides a gRPC server for the celestinal.
skhook
Package skhook provides a way to add hooks to the application lifecycle.
Package skhook provides a way to add hooks to the application lifecycle.
skhttp
Package skhttp provides a http server with grpc-gateway support.
Package skhttp provides a http server with grpc-gateway support.
sknet
Package sknet provide functions extended of http/net
Package sknet provide functions extended of http/net
skutils
Package skutils provides utility functions for striker.
Package skutils provides utility functions for striker.
Package utils provides utility functions for the service.
Package utils provides utility functions for the service.
Package uuid provides a simple UUID generator.
Package uuid provides a simple UUID generator.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL