Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
Option for queue system
func WithServiceName ¶
WithServiceName set serviceName function
type Server ¶
type Server struct {
Ctx context.Context
Tracer *tracer.Server
Logger glog.ILogger
ServiceName string
Version string
// contains filtered or unexported fields
}
func (*Server) IsDevelopment ¶
func (*Server) IsProduction ¶
func (*Server) SetRunMode ¶
func (*Server) StopNotify ¶
Click to show internal directories.
Click to hide internal directories.