proto

package
v0.0.0-...-98addd5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

va/proto/va.proto

It has these top-level messages:

IsSafeDomainRequest
IsDomainSafe
PerformValidationRequest
AuthzMeta
ValidationResult

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterVAServer

func RegisterVAServer(s *grpc.Server, srv VAServer)

Types

type AuthzMeta

type AuthzMeta struct {
	Id               *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	RegID            *int64  `protobuf:"varint,2,opt,name=regID" json:"regID,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*AuthzMeta) Descriptor

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

func (*AuthzMeta) GetId

func (m *AuthzMeta) GetId() string

func (*AuthzMeta) GetRegID

func (m *AuthzMeta) GetRegID() int64

func (*AuthzMeta) ProtoMessage

func (*AuthzMeta) ProtoMessage()

func (*AuthzMeta) Reset

func (m *AuthzMeta) Reset()

func (*AuthzMeta) String

func (m *AuthzMeta) String() string

type IsDomainSafe

type IsDomainSafe struct {
	IsSafe           *bool  `protobuf:"varint,1,opt,name=isSafe" json:"isSafe,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*IsDomainSafe) Descriptor

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

func (*IsDomainSafe) GetIsSafe

func (m *IsDomainSafe) GetIsSafe() bool

func (*IsDomainSafe) ProtoMessage

func (*IsDomainSafe) ProtoMessage()

func (*IsDomainSafe) Reset

func (m *IsDomainSafe) Reset()

func (*IsDomainSafe) String

func (m *IsDomainSafe) String() string

type IsSafeDomainRequest

type IsSafeDomainRequest struct {
	Domain           *string `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*IsSafeDomainRequest) Descriptor

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

func (*IsSafeDomainRequest) GetDomain

func (m *IsSafeDomainRequest) GetDomain() string

func (*IsSafeDomainRequest) ProtoMessage

func (*IsSafeDomainRequest) ProtoMessage()

func (*IsSafeDomainRequest) Reset

func (m *IsSafeDomainRequest) Reset()

func (*IsSafeDomainRequest) String

func (m *IsSafeDomainRequest) String() string

type PerformValidationRequest

type PerformValidationRequest struct {
	Domain           *string         `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
	Challenge        *core.Challenge `protobuf:"bytes,2,opt,name=challenge" json:"challenge,omitempty"`
	Authz            *AuthzMeta      `protobuf:"bytes,3,opt,name=authz" json:"authz,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*PerformValidationRequest) Descriptor

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

func (*PerformValidationRequest) GetAuthz

func (m *PerformValidationRequest) GetAuthz() *AuthzMeta

func (*PerformValidationRequest) GetChallenge

func (m *PerformValidationRequest) GetChallenge() *core.Challenge

func (*PerformValidationRequest) GetDomain

func (m *PerformValidationRequest) GetDomain() string

func (*PerformValidationRequest) ProtoMessage

func (*PerformValidationRequest) ProtoMessage()

func (*PerformValidationRequest) Reset

func (m *PerformValidationRequest) Reset()

func (*PerformValidationRequest) String

func (m *PerformValidationRequest) String() string

type VAClient

type VAClient interface {
	IsSafeDomain(ctx context.Context, in *IsSafeDomainRequest, opts ...grpc.CallOption) (*IsDomainSafe, error)
	PerformValidation(ctx context.Context, in *PerformValidationRequest, opts ...grpc.CallOption) (*ValidationResult, error)
}

func NewVAClient

func NewVAClient(cc *grpc.ClientConn) VAClient

type VAServer

type VAServer interface {
	IsSafeDomain(context.Context, *IsSafeDomainRequest) (*IsDomainSafe, error)
	PerformValidation(context.Context, *PerformValidationRequest) (*ValidationResult, error)
}

type ValidationResult

type ValidationResult struct {
	Records          []*core.ValidationRecord `protobuf:"bytes,1,rep,name=records" json:"records,omitempty"`
	Problems         *core.ProblemDetails     `protobuf:"bytes,2,opt,name=problems" json:"problems,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

func (*ValidationResult) Descriptor

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

func (*ValidationResult) GetProblems

func (m *ValidationResult) GetProblems() *core.ProblemDetails

func (*ValidationResult) GetRecords

func (m *ValidationResult) GetRecords() []*core.ValidationRecord

func (*ValidationResult) ProtoMessage

func (*ValidationResult) ProtoMessage()

func (*ValidationResult) Reset

func (m *ValidationResult) Reset()

func (*ValidationResult) String

func (m *ValidationResult) String() string

Jump to

Keyboard shortcuts

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