type.gno

0.53 Kb ยท 15 lines
 1package message
 2
 3// FuncType is the type of function that is being called by the agent.
 4type FuncType string
 5
 6const (
 7	// FuncTypeIngest means the agent is sending data for ingestion.
 8	FuncTypeIngest FuncType = "ingest"
 9	// FuncTypeCommit means the agent is requesting a feed commit the transitive data
10	// being held by its ingester.
11	FuncTypeCommit FuncType = "commit"
12	// FuncTypeRequest means the agent is requesting feed definitions for all those
13	// that it is whitelisted to provide data for.
14	FuncTypeRequest FuncType = "request"
15)