http

package
v0.0.0-...-dd36f2f Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleOrgIDMiddleware

func HandleOrgIDMiddleware() gin.HandlerFunc

Types

type HTTP

type HTTP struct {
	TaskManager rsctask.ResourceTaskManager
}

func GetSingleton

func GetSingleton() *HTTP

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(logFile string, cfg *config.ControllerConfig) *Server

func (*Server) RegisterRouters

func (s *Server) RegisterRouters()

func (*Server) SetAnalyzerChecker

func (s *Server) SetAnalyzerChecker(ac *monitor.AnalyzerCheck)

func (*Server) SetControllerChecker

func (s *Server) SetControllerChecker(cc *monitor.ControllerCheck)

func (*Server) SetGenesis

func (s *Server) SetGenesis(g *genesis.Genesis)

func (*Server) SetManager

func (s *Server) SetManager(m *manager.Manager)

func (*Server) Start

func (s *Server) Start()

Directories

Path Synopsis
appender module
* Copyright (c) 2024 Yunshan Networks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
* Copyright (c) 2024 Yunshan Networks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
configuration
Package configuration is only provided for enterprise edition.
Package configuration is only provided for enterprise edition.
rebalance/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
configuration Module

Jump to

Keyboard shortcuts

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