package
0.0.0-20240419133027-aeba8327aa53
Repository: https://github.com/openflagr/flagr.git
Documentation: pkg.go.dev
# Functions
BlankResult creates a blank result.
ErrorMessage generates error messages.
GenFixtureEvalCache generates a fixture.
GetDataRecorder gets the data recorder.
LoadSimpleBooleanFlagTemplate loads the simple boolean flag template into a new flag.
NewCRUD creates a new CRUD instance.
NewError creates Error.
NewEval creates a new Eval instance.
Setup initialize all the handler functions.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
GetEvalCache gets the EvalCache.
No description provided by the author
NewKafkaRecorder creates a new Kafka recorder.
NewKinesisRecorder creates a new Kinesis recorder.
NewPubsubRecorder creates a new Pubsub recorder.
# Structs
DataRecordFrame represents the structure we can json.Marshal into data recorders.
DataRecordFrameOptions represents the options we can set to create a DataRecordFrame.
Error is the handler error.
EvalCache is the in-memory cache just for evaluation.
EvalCacheJSON is the JSON serialization format of EvalCache's flags.
# Interfaces
CRUD is the CRUD interface.
DataRecorder can record and produce the evaluation result.
Eval is the Eval interface.