Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Commit 1b122d5

Browse files
committed
feat: add RoutingAPI.Put
1 parent 9fd31e3 commit 1b122d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

routing.go

+3
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ import (
88
type RoutingAPI interface {
99
// Get retrieves the best value for a given key
1010
Get(context.Context, string) ([]byte, error)
11+
12+
// Put sets a value for a given key
13+
Put(ctx context.Context, key string, value []byte) error
1114
}

0 commit comments

Comments
 (0)