Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeWebServer ¶
func NewWebServer ¶
func NewWebServer(serverConfig *ServerConfig) (server.Server, error)
NewWebServer creates and configures a new core web server.
Types ¶
type Config ¶
type Config struct { DisableCache bool GRPCOptions *genericoptions.GRPCOptions TLSOptions *genericoptions.TLSOptions RedisOptions *genericoptions.RedisOptions MySQLOptions *genericoptions.MySQLOptions JaegerOptions *genericoptions.JaegerOptions }
Config contains application-related configurations.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the web server.
type ServerConfig ¶
type ServerConfig struct {
// contains filtered or unexported fields
}
ServerConfig contains the core dependencies and configurations of the server.
func (*ServerConfig) NewGRPCServer ¶
func (c *ServerConfig) NewGRPCServer() (server.Server, error)
Directories
¶
Path | Synopsis |
---|---|
Package biz is the place where you can implements more complex business logic.
|
Package biz is the place where you can implements more complex business logic. |
Package store is a generated GoMock package.
|
Package store is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.