Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CBLEServer ¶
type CBLEServer struct { Config *config.Config Ent *ent.Client Webserver *CBLEWebserver GRPCServer *providers.CBLEServer }
func (*CBLEServer) Initialize ¶
func (s *CBLEServer) Initialize(ctx context.Context) error
Initialize should be called before Run
func (*CBLEServer) Run ¶
func (s *CBLEServer) Run(ctx context.Context, wg *sync.WaitGroup)
Run is called to start all of the CBLE runtimes
func (*CBLEServer) Shutdown ¶
func (s *CBLEServer) Shutdown() error
Shutdown should be called after Run returns
type CBLEWebserver ¶
type CBLEWebserver struct {
// contains filtered or unexported fields
}
func NewWebserver ¶
func NewWebserver(config *config.Config, client *ent.Client, cbleServer *providers.CBLEServer) *CBLEWebserver
Click to show internal directories.
Click to hide internal directories.