admin

package
v0.0.0-...-02c3ccb Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package admin supports configuing Key Transparency with multiple Trillian backends.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin interface {
	LogClient(logID int64) (client.VerifyingLogClient, error)
}

Admin returns objects for specific domains.

type Static

type Static struct {
	// contains filtered or unexported fields
}

Static implements an admin interface for a static set of backends. Updates require a restart.

func NewStatic

func NewStatic() *Static

NewStatic returns an admin interface which returns trillian objects.

func (*Static) AddLog

func (s *Static) AddLog(logID int64, log client.VerifyingLogClient) error

AddLog adds a particular log to Static.

func (*Static) LogClient

func (s *Static) LogClient(logID int64) (client.VerifyingLogClient, error)

LogClient returns the log client for logID.

Jump to

Keyboard shortcuts

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