Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimestampQueryMediaType = "application/timestamp-query" JSONMediaType = "application/json" )
Variables ¶
This section is empty.
Functions ¶
func GetTimestampClient ¶
func GetTimestampClient(timestampServerURL string, opts ...Option) (*client.TimestampAuthority, error)
Types ¶
type Option ¶
type Option func(*options)
Option is a functional option for customizing static signatures.
func WithContentType ¶ added in v1.1.0
WithContentType sets the content type of the request.
func WithUserAgent ¶
WithUserAgent sets the media type of the signature.
Click to show internal directories.
Click to hide internal directories.