diff options
Diffstat (limited to 'kamon-core/src/main/colfer/Context.colf')
-rw-r--r-- | kamon-core/src/main/colfer/Context.colf | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/kamon-core/src/main/colfer/Context.colf b/kamon-core/src/main/colfer/Context.colf index f5d9a80b..9bd9ec76 100644 --- a/kamon-core/src/main/colfer/Context.colf +++ b/kamon-core/src/main/colfer/Context.colf @@ -1,11 +1,32 @@ package context type Entry struct { - name text - content binary + key text + value binary +} + +type StringTag struct { + key text + value text +} + +type LongTag struct { + key text + value int64 +} + +type BooleanTag struct { + key text + value bool +} + +type Tags struct { + strings []StringTag + longs []LongTag + booleans []BooleanTag } type Context struct { - tags []text + tags Tags entries []Entry }
\ No newline at end of file |