From 4069b524b2c607dcf8fc1e378ae86077f8a89234 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 30 May 2024 08:05:03 +0200 Subject: [golang] simplified the api design some more --- golang/pkg/model/register.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 golang/pkg/model/register.go (limited to 'golang/pkg/model/register.go') diff --git a/golang/pkg/model/register.go b/golang/pkg/model/register.go new file mode 100644 index 0000000..cf48b8b --- /dev/null +++ b/golang/pkg/model/register.go @@ -0,0 +1,9 @@ +package model + +type Register struct { + Agent Agent `json:"agent"` + //contract + //faction + Ship Ship `json:"ship"` + Token string `json:"token"` +} -- cgit v1.2.3