{"modulePath":"github.com/maginga/example/activity/binreader","version":"v0.0.0-20220121080038-6f9e92ac2952","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package binreader\n\n## Functions\n\n```go\nfunc New(ctx activity.InitContext) (activity.Activity, error)\n```\nNew create a new kafka activity\n\n## Types\n\n```go\ntype Activity struct {\n\t// contains filtered or unexported fields\n}\n```\nActivity define activity object\n\n```go\nfunc (a *Activity) Eval(context activity.Context) (done bool, err error)\n```\nEval evaluate\n\n```go\nfunc (a *Activity) Metadata() *activity.Metadata\n```\nMetadata returns the activity's metadata\n\n```go\ntype Input struct {\n\tFileName string `md:\"fileName\"` //\n}\n```\nInput input\n\n```go\nfunc (i *Input) FromMap(values map[string]interface{}) error\n```\n\n```go\nfunc (i *Input) ToMap() map[string]interface{}\n```\n\n```go\ntype Output struct {\n\tMessage interface{} `md:\"message\"` // The data that sent kafka\n}\n```\n\n```go\nfunc (o *Output) FromMap(values map[string]interface{}) error\n```\n\n```go\nfunc (o *Output) ToMap() map[string]interface{}\n```\n\n```go\ntype Settings struct {\n\tColumns map[string]interface{} `md:\"columns\"` // The column parameters\n}\n```\nSettings setting struct\n\n","path":"github.com/maginga/example/activity/binreader","name":"binreader","synopsis":"","isRedistributable":true}
