Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MaterialServer ¶
type MaterialServer struct {
// Provider provides the trust material.
Provider trust.Provider
// IA is the local ISD-AS.
IA addr.IA
// Requests aggregates all the incoming requests received by the handler. If
// it is not initialized, nothing is reported.
Requests metrics.Counter
}
MaterialServer servers trust material for gRPC requests.
func (MaterialServer) Chains ¶
func (s MaterialServer) Chains(ctx context.Context, req *cppb.ChainsRequest) (*cppb.ChainsResponse, error)
func (MaterialServer) TRC ¶
func (s MaterialServer) TRC(ctx context.Context, req *cppb.TRCRequest) (*cppb.TRCResponse, error)
Click to show internal directories.
Click to hide internal directories.