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

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.ClientConn) 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Request) Descriptor Uses

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

func (*Request) GetDer Uses

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

func (*Request) GetLogPublicKey Uses

func (m *Request) GetLogPublicKey() string

func (*Request) GetLogURL Uses

func (m *Request) GetLogURL() string

func (*Request) GetPrecert Uses

func (m *Request) GetPrecert() bool

func (*Request) GetStoreSCT Uses

func (m *Request) GetStoreSCT() bool

func (*Request) ProtoMessage Uses

func (*Request) ProtoMessage()

func (*Request) Reset Uses

func (m *Request) Reset()

func (*Request) String Uses

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown Uses

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal Uses

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge Uses

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size Uses

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal Uses

func (m *Request) XXX_Unmarshal(b []byte) error

type Result Uses

type Result struct {
    Sct                  []byte   `protobuf:"bytes,1,opt,name=sct" json:"sct,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Result) Descriptor Uses

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

func (*Result) GetSct Uses

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

func (*Result) ProtoMessage Uses

func (*Result) ProtoMessage()

func (*Result) Reset Uses

func (m *Result) Reset()

func (*Result) String Uses

func (m *Result) String() string

func (*Result) XXX_DiscardUnknown Uses

func (m *Result) XXX_DiscardUnknown()

func (*Result) XXX_Marshal Uses

func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result) XXX_Merge Uses

func (m *Result) XXX_Merge(src proto.Message)

func (*Result) XXX_Size Uses

func (m *Result) XXX_Size() int

func (*Result) XXX_Unmarshal Uses

func (m *Result) XXX_Unmarshal(b []byte) error

type UnimplementedPublisherServer Uses

type UnimplementedPublisherServer struct {
}

UnimplementedPublisherServer can be embedded to have forward compatible implementations.

func (*UnimplementedPublisherServer) SubmitToSingleCTWithResult Uses

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

Package publisher imports 7 packages (graph) and is imported by 69 packages. Updated 2019-04-10. Refresh now. Tools for package owners.