Documentation
¶
Index ¶
- Variables
- func Package() config.ProtoCommandIface
- type Config
- type Monkey
- type Service
- func (srv *Service) Close() error
- func (s *Service) Delete(jid string)
- func (s *Service) Dev() bool
- func (s *Service) Hoarder() hoarderIface.Client
- func (s *Service) Node() peer.Node
- func (s *Service) Patrick() patrick.Client
- func (m *Service) ServiceHandler(ctx context.Context, conn streams.Connection, body command.Body) (cr.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GetGitRepoMaxRetries = 3 GetGitRepoWaitBeforeRetry = 5 * time.Second )
View Source
var NewPatrick = func(ctx context.Context, node peer.Node) (patrick.Client, error) { return patrickClient.New(ctx, node) }
TODO: This sucks
This is a variable so that it can be overridden in tests
Functions ¶
func Package ¶
func Package() config.ProtoCommandIface
Types ¶
type Monkey ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.