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

Commit

Permalink
feat: add RoutingAPI.Put
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jan 25, 2023
1 parent 9fd31e3 commit 1b122d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ import (
type RoutingAPI interface {
// Get retrieves the best value for a given key
Get(context.Context, string) ([]byte, error)

// Put sets a value for a given key
Put(ctx context.Context, key string, value []byte) error
}

0 comments on commit 1b122d5

Please sign in to comment.