main
git 2025-12-11 15:16:03 +08:00
parent 0c4eb2b4bf
commit 9ea52360b3
Signed by: git
GPG Key ID: 3F65EFFA44207ADD
7 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,4 @@
// Package config provides configuration management functionality for the application including database, Redis, web, and logging settings.
package config
import (

View File

@ -1,4 +1,5 @@
package storage
// Package dal provides data access layer implementations including local caching and Redis operations.
package dal
import (
"time"

View File

@ -1,4 +1,4 @@
package storage
package dal
import (
"net"
@ -15,7 +15,7 @@ type RedisSession struct {
Client *redis.Client
}
// NewRedisSession
// NewRedisSession ...
func NewRedisSession(redisConf *config.RedisConf) (*RedisSession, error) {
client := redis.NewClient(&redis.Options{
Addr: net.JoinHostPort(redisConf.Host, strconv.Itoa(redisConf.Port)),

View File

@ -1,3 +1,4 @@
// Package healthz provides health check endpoints for monitoring application status and readiness.
package healthz
import "net/http"

View File

@ -1,3 +1,4 @@
// Package httpserver provides HTTP server utilities including buffered I/O operations and request handling.
package httpserver
import (

View File

@ -8,12 +8,12 @@ import (
"net/url"
"time"
"git.ifooth.com/common/pkg/rest"
"git.ifooth.com/common/pkg/validator"
"github.com/samber/lo"
"git.ifooth.com/common/pkg/rest"
istore "git.ifooth.com/common/pkg/task/stores/iface"
"git.ifooth.com/common/pkg/task/types"
"git.ifooth.com/common/pkg/validator"
)
type service struct {

View File

@ -1,3 +1,4 @@
// Package version provides version information and build details for the application.
package version
import (