Defining a map keys

clients map[chan<-string]struct{}

What are the keys defined here for the clients map(set) - a chanel or a string? Or even chanels which are able to accept strings? So what does such a keys definition mean?

It is a write only channel accepting strings.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.