Skip to content

Commit

Permalink
manager: remove listener, fixes #120
Browse files Browse the repository at this point in the history
  • Loading branch information
Wessie committed May 13, 2024
1 parent 323e179 commit 76d1855
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 319 deletions.
290 changes: 0 additions & 290 deletions manager/listener.go

This file was deleted.

24 changes: 0 additions & 24 deletions manager/listener_test.go

This file was deleted.

5 changes: 0 additions & 5 deletions manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ func Execute(ctx context.Context, cfg config.Config) error {
return err
}

ExecuteListener(ctx, cfg, m)

// setup a http server for our RPC API
srv, err := NewGRPCServer(ctx, m)
if err != nil {
Expand All @@ -49,9 +47,6 @@ func Execute(ctx context.Context, cfg config.Config) error {
}
}

// ExecuteListener is an alias for NewListener
var ExecuteListener = NewListener

// NewManager returns a manager ready for use
func NewManager(ctx context.Context, cfg config.Config) (*Manager, error) {
store, err := storage.Open(ctx, cfg)
Expand Down

0 comments on commit 76d1855

Please sign in to comment.