Skip to content

dutchcoders/gogreynoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gogreynoise Go Report Card

Golang client for Greynoise.io. The client currently only implements /context, but it is easy to extend other features.

Usage

package greynoise

import (
        "fmt"
        "net"

        greynoise "github.com/dutchcoders/gogreynoise"
)

func ExampleExamples_output() {
        client, err := greynoise.New(
                greynoise.WithKey("{key}"),
        )
        if err != nil {
                panic(err.Error)
        }

        ip := net.ParseIP("8.8.8.8")
        result, err := client.Context(ip)
        if err != nil {
                panic(err.Error)
        }

        fmt.Printf("Actor: %s\n", result.Actor)
}

Contributors

Copyright and license

Code released under Apache License 2.0.

About

Golang client for greynoise.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages