package
0.0.0-20241219122312-970eeaa763dc
Repository: https://github.com/julieta-311/proglog.git
Documentation: pkg.go.dev

# Functions

NewGRPCServer creates a new gRPC server and registers the log server with it.
NewHTTPServer takes in an address for the server to run on and returns a server handling POST and GET requests to root.
NewLog instanciates a Log.

# Variables

ErrOffsetNotFound is an error returned if there are no records at the given offset.

# Structs

Config holds configuration for the server.
ConsumeRequest holds the offset a requester wants to read logs from.
ConsumeResponse holds a record read from a Log.
Log holds the records logged.
ProduceRequest contains the record that the requester wants to log.
ProduceResponse holds the offset an record was logged at.
Record is an value logged at a given offset.

# Interfaces

Authorizer holds authorization methods.
No description provided by the author
GetServerer holds methods to expose available servers.