Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGRPCServer, NewServiceGroup, NewHTTPServer)
ProviderSet is server providers.
Functions ¶
func NewGRPCServer ¶
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
func NewHTTPServer(c *conf.Server, serviceProductGroup *ServiceProductGroup) *http.Server
NewHTTPServer new a HTTP server.
func TokenWithContext ¶
func TokenWithContext() middleware.Middleware
Types ¶
type ServiceProductGroup ¶
type ServiceProductGroup struct {
// contains filtered or unexported fields
}
func NewServiceGroup ¶
func NewServiceGroup(projectPipelineRuntime *service.ProjectPipelineRuntimeService, deploymentRuntime *service.DeploymentruntimeService, codeRepo *service.CodeRepoService, codeRepoBinding *service.CodeRepoBindingService, product *service.ProductService, project *service.ProjectService, enviroment *service.EnvironmentService, cluster *service.ClusterService) *ServiceProductGroup
func (*ServiceProductGroup) Register ¶
func (s *ServiceProductGroup) Register(srv *http.Server)
Click to show internal directories.
Click to hide internal directories.