logtail

package module
v0.0.0-...-ad9cfc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 8 Imported by: 0

README

Workflow for Go Standard Action codecov

logtail

Tail logs from a file

TODOs:
Frontend:
  1. Store user's config in cookies.
  2. - Use a buffer size of logs, so that only a limited number of logs are in memory. - Provide an API to load logs on scrolling - how to store past logs? DB vs file copy? Not ideal to create and write to a file being a simple UI tool. DB is a bigger overhead - user needs to have the DB (mongo useful here) running.
Backend:
  1. Tests for server.go
  2. Github workflow for "Go Lint"
  3. Github workflow for "Go Fmt"
  4. Github workflow for "Go Vet"
  5. Github workflow for "Go Test"
  6. Github workflow for "Go Race Detector"
  7. Graceful shutdown for the HTTP server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, conf *internal.Config)

Types

This section is empty.

Directories

Path Synopsis
cmd
writer command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL