Skip to content

Handler.Queue() example #1

Description

@chrissnell

Hi Michał,

I'm really new to Go and I'm working with your syslog package. I was reading through the source and noticed Handler.Queue() but I'm still struggling to understand channels, particularly how they might be used with your package. I'm writing a syslog proxy and I would like to be able to read in new messages and send them on their way without blocking. I was wondering if you might provide an example of how to do this.

Thanks,

Chris

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions