Documentation
ΒΆ
Overview ΒΆ
Package microservices provides a comprehensive library for microservices development with support for AI, Authentication, Storage, Database, Cache, Messaging, and more.
This package provides a unified interface for all microservices components, allowing you to import everything from a single module:
import "github.com/anasamu/go-micro-libs"
Index ΒΆ
- Variables
- type AIManager
- type APIManager
- type AuthManager
- type BackupManager
- type CacheManager
- type ChaosManager
- type CircuitBreakerManager
- type CommunicationManager
- type ConfigManager
- type DatabaseManager
- type DiscoveryManager
- type EdgeManager
- type EmailManager
- type EventManager
- type FailoverManager
- type FileGenManager
- type LoggingManager
- type MessagingManager
- type MiddlewareManager
- type MonitoringManager
- type PaymentManager
- type RateLimitManager
- type SchedulingManager
- type StorageManager
- type ZeroTrustManager
Constants ΒΆ
This section is empty.
Variables ΒΆ
View Source
var DefaultAPIManagerConfig = api.DefaultManagerConfig
Configuration Functions (only for services that have them)
View Source
var DefaultAuthManagerConfig = auth.DefaultManagerConfig
View Source
var DefaultDatabaseManagerConfig = database.DefaultManagerConfig
View Source
var DefaultEmailManagerConfig = email.DefaultManagerConfig
View Source
var DefaultMessagingManagerConfig = messaging.DefaultManagerConfig
View Source
var DefaultStorageManagerConfig = storage.DefaultManagerConfig
View Source
var DefaultZeroTrustManagerConfig = zerotrust.DefaultManagerConfig
View Source
var GenerateHash = utils.GenerateHash
View Source
var GenerateUUID = utils.GenerateUUID
Utility Functions
View Source
var GenerateUUIDString = utils.GenerateUUIDString
View Source
var HashPassword = utils.HashPassword
View Source
var IsEmpty = utils.IsEmpty
View Source
var IsNotEmpty = utils.IsNotEmpty
View Source
var IsValidEmail = utils.IsValidEmail
View Source
var IsValidPassword = utils.IsValidPassword
View Source
var IsValidPhone = utils.IsValidPhone
View Source
var IsValidURL = utils.IsValidURL
View Source
var IsValidUUID = utils.IsValidUUID
View Source
var NewAIManager = ai.NewAIManager
Manager Constructor Functions
View Source
var NewAPIManager = api.NewAPIManager
View Source
var NewAuthManager = auth.NewAuthManager
View Source
var NewBackupManager = backup.NewBackupManager
View Source
var NewCacheManager = cache.NewCacheManager
View Source
var NewChaosManager = chaos.NewManager
View Source
var NewCircuitBreakerManager = circuitbreaker.NewCircuitBreakerManager
View Source
var NewCommunicationManager = communication.NewCommunicationManager
View Source
var NewConfigManager = config.NewManager
View Source
var NewDatabaseManager = database.NewDatabaseManager
View Source
var NewDiscoveryManager = discovery.NewDiscoveryManager
View Source
var NewEdgeManager = edge.NewEdgeManager
View Source
var NewEmailManager = email.NewEmailManager
View Source
var NewEventManager = event.NewEventSourcingManager
View Source
var NewFailoverManager = failover.NewFailoverManager
View Source
var NewFileGenManager = filegen.NewManager
View Source
var NewLoggingManager = logging.NewLoggingManager
View Source
var NewMessagingManager = messaging.NewMessagingManager
View Source
var NewMiddlewareManager = middleware.NewMiddlewareManager
View Source
var NewMonitoringManager = monitoring.NewMonitoringManager
View Source
var NewPaymentManager = payment.NewPaymentManager
View Source
var NewRateLimitManager = ratelimit.NewRateLimitManager
View Source
var NewSchedulingManager = scheduling.NewSchedulingManager
View Source
var NewStorageManager = storage.NewStorageManager
View Source
var NewZeroTrustManager = zerotrust.NewZeroTrustManager
View Source
var Now = utils.Now
View Source
var NowUTC = utils.NowUTC
View Source
var VerifyPassword = utils.VerifyPassword
Functions ΒΆ
This section is empty.
Types ΒΆ
type CircuitBreakerManager ΒΆ
type CircuitBreakerManager = circuitbreaker.CircuitBreakerManager
Circuit Breaker
type CommunicationManager ΒΆ
type CommunicationManager = communication.CommunicationManager
Communication
type ZeroTrustManager ΒΆ added in v1.1.0
type ZeroTrustManager = zerotrust.ZeroTrustManager
ZeroTrust
Click to show internal directories.
Click to hide internal directories.