Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOffsetNotFound = fmt.Errorf("offset not found")
Functions ¶
func NewGRPCServer ¶
func NewHTTPServer ¶
Types ¶
type Authorizer ¶
type Config ¶
type Config struct { CommitLog CommitLog Authorizer Authorizer }
type ConsumeRequest ¶
type ConsumeRequest struct {
Offset uint64 `json: "offset"`
}
type ConsumeResponse ¶
type ConsumeResponse struct {
Record Record `json: "record"`
}
type ProduceRequest ¶
type ProduceRequest struct {
Record Record `json: "record"`
}
type ProduceResponse ¶
type ProduceResponse struct {
Offset uint64 `json: "offset"`
}
Click to show internal directories.
Click to hide internal directories.