client

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

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

func WithContentType(contentType string) Option

WithContentType sets the content type of the request.

func WithUserAgent

func WithUserAgent(userAgent string) Option

WithUserAgent sets the media type of the signature.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL