Skip to content

Commit 7aa1784

Browse files
committed
Updates
1 parent 48ed3bc commit 7aa1784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Task interface {
3030
type Provider interface {
3131
Task
3232

33-
// Return a task given a plugin name
33+
// Return a task given a plugin label
3434
Task(context.Context, string) Task
3535
}
3636

@@ -49,6 +49,7 @@ type HTTPRouter interface {
4949
// HTTP MIDDLEWARE
5050

5151
type HTTPMiddleware interface {
52+
// Return a http handler with middleware as the parent handler
5253
HandleFunc(http.HandlerFunc) http.HandlerFunc
5354
}
5455

0 commit comments

Comments
 (0)