File: encoding.go

package info (click to toggle)
golang-github-centrifugal-protocol 0.3.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 508 kB
  • sloc: makefile: 15
file content (11 lines) | stat: -rw-r--r-- 285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
package protocol

// EncodingType determines connection payload encoding type.
type EncodingType string

const (
	// EncodingTypeJSON means JSON payload.
	EncodingTypeJSON EncodingType = "json"
	// EncodingTypeBinary means binary payload.
	EncodingTypeBinary EncodingType = "binary"
)