Documentation
¶
Index ¶
- type PeeringBackend
- type Server
- func (s *Server) Init(_ context.Context, request *celestial.InitRequest) (*celestial.Empty, error)
- func (s *Server) Register(_ context.Context, request *celestial.RegisterRequest) (*celestial.RegisterResponse, error)
- func (s *Server) Stop(_ context.Context, _ *celestial.Empty) (*celestial.Empty, error)
- func (s *Server) Update(stream celestial.Celestial_UpdateServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeeringBackend ¶ added in v0.2.0
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server handles grpc requests.
func New ¶
func New(o *orchestrator.Orchestrator, pb PeeringBackend) *Server
New creates a new Server for grpc requests.
func (*Server) Register ¶ added in v0.2.0
func (s *Server) Register(_ context.Context, request *celestial.RegisterRequest) (*celestial.RegisterResponse, error)
Click to show internal directories.
Click to hide internal directories.