a1connection

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager is a struct of A1 interface

func NewManager

func NewManager(caPath string, keyPath string, certPath string, grpcPort int, xAppName string) (*Manager, error)

NewManager creates a new A1 manager

func (*Manager) AddXappElementOnTopo

func (m *Manager) AddXappElementOnTopo(ctx context.Context) error

AddXappElementOnTopo adds XApp type on topo

func (*Manager) GetID

func (m *Manager) GetID() topoapi.ID

GetID returns ID

func (*Manager) Start

func (m *Manager) Start(ctx context.Context)

Start inits and starts A1 server

Jump to

Keyboard shortcuts

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