server

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAPI

func InitAPI()

func LoadServerVersion

func LoadServerVersion() error

func Run

func Run()

func UpgradeServerVersion

func UpgradeServerVersion() error

Types

type APIServer

type APIServer struct {
	Listeners map[APIType]string
	// contains filtered or unexported fields
}

func GetAPIServer

func GetAPIServer() *APIServer

func (*APIServer) AddListener

func (s *APIServer) AddListener(t APIType, ip, port string)

func (*APIServer) Err

func (s *APIServer) Err() <-chan error

func (*APIServer) MarkForked

func (s *APIServer) MarkForked()

func (*APIServer) Start

func (s *APIServer) Start()

func (*APIServer) Stop

func (s *APIServer) Stop()

type APIType

type APIType int64
const (
	RPC  APIType = 0
	REST APIType = 1
)

func (APIType) String

func (t APIType) String() string

type ServiceCenterServer

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

func (*ServiceCenterServer) Run

func (s *ServiceCenterServer) Run()

func (*ServiceCenterServer) Stop

func (s *ServiceCenterServer) Stop()

Directories

Path Synopsis
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
proto
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
handler
discovery
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
discovery/etcd
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
tls
controller/v3
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
dep
event
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
kv
Package kv supplies kv store
Package kv supplies kv store
ms
rbac/dao
Package rbac is dao layer API to help service center manage account, policy and role info
Package rbac is dao layer API to help service center manage account, policy and role info
util
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.

Jump to

Keyboard shortcuts

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