package apicall
import "github.com/google/monologue/apicall"
Package apicall provides types and functions directly relating to the api calls made by the monitor to a Log.
Index ¶
Types ¶
type APICall ¶
type APICall struct { Start time.Time End time.Time Endpoint ct.APIEndpoint Response *http.Response Body []byte Err error }
APICall contains the details of a call to one of the API endpoints of a CT Log.
func New ¶
New populates and returns an APICall struct using the given APIendpoint, HTTPData and error, all of which should relate to the same single call to a CT API endpoint.
func (APICall) String ¶
Source Files ¶
- Version
- v0.0.0-20230315160450-1dc62842925e (latest)
- Published
- Mar 15, 2023
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 1 day ago –
Tools for package owners.