diff options
Diffstat (limited to 'protocol.go')
-rw-r--r-- | protocol.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/protocol.go b/protocol.go new file mode 100644 index 0000000..dc2abbc --- /dev/null +++ b/protocol.go @@ -0,0 +1,14 @@ +package syw + +import ( + "context" + + "tildegit.org/tjp/sliderule" +) + +type protocol interface { + sliderule.ServerProtocol + + TemplateBaseData(context.Context, *sliderule.Request) map[string]any + TemplateRepoData(context.Context, *sliderule.Request) map[string]any +} |