Created
November 28, 2020 00:50
-
-
Save cyx/7fc6aeb9a28c15c73c3ac61a7d963da4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package runtime | |
import "context" | |
type API interface { | |
Execute(ctx context.Context, req Request) (Response, error) | |
} | |
type Request struct { | |
Payload []byte | |
} | |
type Response struct { | |
Payload []byte | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment