internal

package
v0.0.71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Debug edn.Keyword = "debug"
	Info              = "info"
	Warn              = "warn"
	Error             = "error"
)

Variables

This section is empty.

Functions

func ContainsBy added in v0.0.34

func ContainsBy[K interface{}](slice []K, test func(K) bool) bool

Types

type LogBody

type LogBody struct {
	Logs []LogEntry `edn:"logs"`
}

type LogEntry

type LogEntry struct {
	Timestamp string      `edn:"timestamp"`
	Level     edn.Keyword `edn:"level"`
	Text      string      `edn:"text"`
}

type ResponseMessage

type ResponseMessage struct {
	ApiVersion    string `json:"api_version"`
	CorrelationId string `json:"correlation_id"`
	Team          Team   `json:"team"`
	Type          string `json:"type"`
	Entities      string `json:"entities"`
}

type StatusBody

type StatusBody struct {
	Status interface{} `edn:"status,omitempty"`
}

type Team

type Team struct {
	Id string `json:"id"`
}

type TransactionEntity

type TransactionEntity struct {
	Data        []map[edn.Keyword]edn.RawMessage `edn:"data"`
	OrderingKey string                           `edn:"ordering-key,omitempty"`
}

type TransactionEntityBody

type TransactionEntityBody struct {
	Transactions []TransactionEntity `edn:"transactions"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL