Skip to content

pravinba9495/sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry

Go Reference Go Report Card Issues License Release

Stream logs through websockets, written in Go.

Table of Contents

Example

Server

package main

import (
    "github.com/pravinba9495/sentry"
)

func main() {

    // Initialize sentry options 
    opts := &sentry.SentryOptions{
	Port:        8080,
	Secret:      "SOME_RANDOM_SECRET",
	LogFilePath: "logfile.txt",
    }

    // Create and start the sentry instance
    instance := sentry.NewInstance(opts)
    err := <-instance.Run()
    
    log.Println(err)
}

Documentation

Sentry documentation is hosted at Read the docs.

Development

Sentry is still under development. Contributions are always welcome!

Maintainers

License

MIT