File: submitter.go

package info (click to toggle)
fever 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 920 kB
  • sloc: sh: 41; makefile: 18
file content (12 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
package util

// DCSO FEVER
// Copyright (c) 2017, DCSO GmbH

// StatsSubmitter is an interface for an entity that sends JSON data to an endpoint
type StatsSubmitter interface {
	Submit(rawData []byte, key string, contentType string)
	SubmitWithHeaders(rawData []byte, key string, contentType string, myHeaders map[string]string)
	UseCompression()
	Finish()
}