package
0.2.7
Repository: https://github.com/aorith/varnishlog-parser.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMissingTransaction initializes a transaction that is missing in the VSL logs from a Link tag record.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTransaction initializes a new transaction by parsing the first line of the log.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AcctRecord holds accounting information for ReqAcct and BereqAcct tags.
BackendCloseRecord holds information about a backend connection close.
BackendOpenRecord holds information about a new backend connection.
BackendStartRecord holds information about a new backend connection.
BaseRecord is a single VSL log line split by tag and value.
BeginRecord represents the start of a transaction log.
BereqHeaderRecord holds headers for the vsl tag BereqHeader.
BereqUnsetRecord holds a header name and value that is unset in VCL.
BerespHeaderRecord holds headers for the vsl tag BerespHeader.
BerespUnsetRecord holds a header name and value that is unset in VCL.
EndRecord marks the end of a transaction.
ErrorRecord holds error messages.
FetchBodyRecord holds information about the mode to fetch the object from the backend.
FetchErrorRecord holds the error msg of an error while fetching the object from the backend.
FiltersRecord holds the list of filters applied to the body.
GzipRecord holds G(un)zip performed on object.
HitRecord contains information about a hit of an object in the cache.
LengthRecord represents the size of a fetch body.
LinkRecord Links to a child transaction.
MethodRecord holds the method for ReqMethod or BereqMethod tags.
ObjHeaderRecord holds headers for the vsl tag ObjHeader.
ObjUnsetRecord holds a header name and value that is unset in VCL.
ProtocolRecord holds the protocol for the ReqProtocol, RespProtocol, BereqProtocol, ..
ReasonRecord is the response reason.
ReqHeaderRecord holds headers for the vsl tag ReqHeader.
ReqStartRecord holds information about the start of request processing.
ReqUnsetRecord holds a header name and value that is unset in VCL.
RespHeaderRecord holds headers for the vsl tag RespHeader.
RespUnsetRecord holds a header name and value that is unset in VCL.
SessCloseRecord is the last record for any client connection.
SessOpenRecord is the first record for a client connection with the socket-endpoints of the connection.
StatusRecord represents an HTTP code response status.
StorageRecord holds the type and name of the storage backend the object is stored in.
No description provided by the author
Transaction represent a singular Varnish transaction log.
TransactionSet groups multiple Varnish transaction logs together.
TTLRecord reprensets the ttl, grace, keep values for an object.
URLRecord holds request URL from ReqURL and BereqURL tags.
VCLCallRecord is the VCL method called (RECV, DELIVER, BACKEND_FETCH, ...).
VCLLogRecord holds vsl tag VCL_Log key is empty if the log value is not formatted as 'key: value'.
VCLReturnRecord is the VCL method return value (hash, lookup, fetch, deliver, ...).
VCLUseRecord is the VCL name in use.

# Interfaces

HeaderRecord interface.
Record interface for all the VSL log records.

# Type aliases

SizeValue is a custom type based on int64 to handle sizes.
In Varnish the vxid is "uint32_t".