server

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(c *conf.Server, product *service.ProductService, _ log.Logger) *grpc.Server

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(c *conf.Server, serviceProductGroup *ServiceProductGroup) *http.Server

NewHTTPServer new a HTTP server.

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, environment *service.EnvironmentService, cluster *service.ClusterService) *ServiceProductGroup

func (*ServiceProductGroup) Register

func (s *ServiceProductGroup) Register(srv *http.Server)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL