Versions in this module Expand all Collapse all v1 v1.0.0 Jun 13, 2023 Changes in this version + func GRPCLogger(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error) + func HttpLogger(handler http.Handler) http.Handler + func NewServer(config util.Config, store db.Store, taskDistributor worker.TaskDistributor) (*server, error) + type Metadata struct + ClientIP string + UserAgent string + type ResponseRecorder struct + Body []byte + StatusCode int + func (rec *ResponseRecorder) Write(body []byte) (int, error) + func (rec *ResponseRecorder) WriteHeader(statusCode int)