Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Model ¶
type Model interface { Add(ctx context.Context, s Server) error GetAll(ctx context.Context, d time.Duration) ([]Server, error) Clear(ctx context.Context) error GetDepending(ctx context.Context, ident string, depth int, since time.Duration) ([]Server, error) GetDependencies(ctx context.Context, ident string, depth int, since time.Duration) ([]Server, error) }
func NewMemoryModel ¶
func NewMemoryModel() Model
Click to show internal directories.
Click to hide internal directories.