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 Dec 2, 2022
1 parent 63169fd commit 8ba0614
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 8ba0614

Please sign in to comment.