boulder: github.com/letsencrypt/boulder/publisher/proto Index | Files

package publisher

import "github.com/letsencrypt/boulder/publisher/proto"

Index

Package Files

generate.go publisher.pb.go

Variables

var File_publisher_proto protoreflect.FileDescriptor

func RegisterPublisherServer Uses

func RegisterPublisherServer(s *grpc.Server, srv PublisherServer)

type PublisherClient Uses

type PublisherClient interface {
    SubmitToSingleCTWithResult(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Result, error)
}

PublisherClient is the client API for Publisher service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPublisherClient Uses

func NewPublisherClient(cc grpc.ClientConnInterface) PublisherClient

type PublisherServer Uses

type PublisherServer interface {
    SubmitToSingleCTWithResult(context.Context, *Request) (*Result, error)
}

PublisherServer is the server API for Publisher service.

type Request Uses

type Request struct {
    Der          []byte  `protobuf:"bytes,1,opt,name=der" json:"der,omitempty"`
    LogURL       *string `protobuf:"bytes,2,opt,name=LogURL" json:"LogURL,omitempty"`
    LogPublicKey *string `protobuf:"bytes,3,opt,name=LogPublicKey" json:"LogPublicKey,omitempty"`
    Precert      *bool   `protobuf:"varint,4,opt,name=precert" json:"precert,omitempty"`
    StoreSCT     *bool   `protobuf:"varint,5,opt,name=storeSCT" json:"storeSCT,omitempty"`
    // contains filtered or unexported fields
}

func (*Request) Descriptor Uses

func (*Request) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetDer Uses

func (x *Request) GetDer() []byte

func (*Request) GetLogPublicKey Uses

func (x *Request) GetLogPublicKey() string

func (*Request) GetLogURL Uses

func (x *Request) GetLogURL() string

func (*Request) GetPrecert Uses

func (x *Request) GetPrecert() bool

func (*Request) GetStoreSCT Uses

func (x *Request) GetStoreSCT() bool

func (*Request) ProtoMessage Uses

func (*Request) ProtoMessage()

func (*Request) ProtoReflect Uses

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset Uses

func (x *Request) Reset()

func (*Request) String Uses

func (x *Request) String() string

type Result Uses

type Result struct {
    Sct []byte `protobuf:"bytes,1,opt,name=sct" json:"sct,omitempty"`
    // contains filtered or unexported fields
}

func (*Result) Descriptor Uses

func (*Result) Descriptor() ([]byte, []int)

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetSct Uses

func (x *Result) GetSct() []byte

func (*Result) ProtoMessage Uses

func (*Result) ProtoMessage()

func (*Result) ProtoReflect Uses

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset Uses

func (x *Result) Reset()

func (*Result) String Uses

func (x *Result) String() string

type UnimplementedPublisherServer Uses

type UnimplementedPublisherServer struct {
}

UnimplementedPublisherServer can be embedded to have forward compatible implementations.

func (*UnimplementedPublisherServer) SubmitToSingleCTWithResult Uses

func (*UnimplementedPublisherServer) SubmitToSingleCTWithResult(context.Context, *Request) (*Result, error)

Package publisher imports 9 packages (graph) and is imported by 109 packages. Updated 2020-05-02. Refresh now. Tools for package owners.