mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
6fde3632ef
The vendor/ folder was created with the help of @FiloSottile's gvt and vendorcheck. Any dependencies of Caddy plugins outside this repo are not vendored. We do not remove any unused, vendored packages because vendorcheck -u only checks using the current build configuration; i.e. packages that may be imported by files toggled by build tags of other systems. CI tests have been updated to ignore the vendor/ folder. When Go 1.9 is released, a few of the go commands should be revised to again use ./... as it will ignore the vendor folder by default.
133 lines
3.4 KiB
Go
133 lines
3.4 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: google.golang.org/appengine/internal/base/api_base.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package base is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
google.golang.org/appengine/internal/base/api_base.proto
|
|
|
|
It has these top-level messages:
|
|
StringProto
|
|
Integer32Proto
|
|
Integer64Proto
|
|
BoolProto
|
|
DoubleProto
|
|
BytesProto
|
|
VoidProto
|
|
*/
|
|
package base
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
type StringProto struct {
|
|
Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *StringProto) Reset() { *m = StringProto{} }
|
|
func (m *StringProto) String() string { return proto.CompactTextString(m) }
|
|
func (*StringProto) ProtoMessage() {}
|
|
|
|
func (m *StringProto) GetValue() string {
|
|
if m != nil && m.Value != nil {
|
|
return *m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Integer32Proto struct {
|
|
Value *int32 `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Integer32Proto) Reset() { *m = Integer32Proto{} }
|
|
func (m *Integer32Proto) String() string { return proto.CompactTextString(m) }
|
|
func (*Integer32Proto) ProtoMessage() {}
|
|
|
|
func (m *Integer32Proto) GetValue() int32 {
|
|
if m != nil && m.Value != nil {
|
|
return *m.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Integer64Proto struct {
|
|
Value *int64 `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Integer64Proto) Reset() { *m = Integer64Proto{} }
|
|
func (m *Integer64Proto) String() string { return proto.CompactTextString(m) }
|
|
func (*Integer64Proto) ProtoMessage() {}
|
|
|
|
func (m *Integer64Proto) GetValue() int64 {
|
|
if m != nil && m.Value != nil {
|
|
return *m.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BoolProto struct {
|
|
Value *bool `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *BoolProto) Reset() { *m = BoolProto{} }
|
|
func (m *BoolProto) String() string { return proto.CompactTextString(m) }
|
|
func (*BoolProto) ProtoMessage() {}
|
|
|
|
func (m *BoolProto) GetValue() bool {
|
|
if m != nil && m.Value != nil {
|
|
return *m.Value
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DoubleProto struct {
|
|
Value *float64 `protobuf:"fixed64,1,req,name=value" json:"value,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *DoubleProto) Reset() { *m = DoubleProto{} }
|
|
func (m *DoubleProto) String() string { return proto.CompactTextString(m) }
|
|
func (*DoubleProto) ProtoMessage() {}
|
|
|
|
func (m *DoubleProto) GetValue() float64 {
|
|
if m != nil && m.Value != nil {
|
|
return *m.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BytesProto struct {
|
|
Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *BytesProto) Reset() { *m = BytesProto{} }
|
|
func (m *BytesProto) String() string { return proto.CompactTextString(m) }
|
|
func (*BytesProto) ProtoMessage() {}
|
|
|
|
func (m *BytesProto) GetValue() []byte {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VoidProto struct {
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *VoidProto) Reset() { *m = VoidProto{} }
|
|
func (m *VoidProto) String() string { return proto.CompactTextString(m) }
|
|
func (*VoidProto) ProtoMessage() {}
|