ossobv / gocollect

Data collector using go, periodically posts json to a REST api
GNU General Public License v3.0
6 stars 1 forks source link

register() should get a Struct as argument #34

Closed wdoekes closed 7 years ago

wdoekes commented 7 years ago

See: https://github.com/ossobv/gocollect/blob/88623131c626fafc84e113f65a9bbf25a28cfad4/gocollector/actions.go#L116

We could pass around a struct with all relevant config here or at least combine the registerUrl and regFile into one.