Created
November 27, 2020 14:07
-
-
Save dlorenc/fd1a5ebcb0665ba77b25c84006359d24 to your computer and use it in GitHub Desktop.
This file contains 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
type RemoteRef struct { | |
Url string | |
Sha string | |
} | |
type InlineData []byte | |
type Content struct { | |
// oneOf RemoteRef|Data | |
RemoteRef RemoteRef | |
Data InlineData | |
} | |
type AppendRequest struct { | |
Signature struct { | |
Format string | |
Content Content | |
PublicKey struct { | |
Content | |
} | |
} | |
Data Content | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment