90 lines
3.5 KiB
Go
90 lines
3.5 KiB
Go
|
// Code generated by protoc-gen-go.
|
||
|
// source: config.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package ricochet
|
||
|
|
||
|
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 Config struct {
|
||
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity" json:"identity,omitempty"`
|
||
|
Contacts map[string]*Contact `protobuf:"bytes,2,rep,name=contacts" json:"contacts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
Secrets *Secrets `protobuf:"bytes,3,opt,name=secrets" json:"secrets,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *Config) Reset() { *m = Config{} }
|
||
|
func (m *Config) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Config) ProtoMessage() {}
|
||
|
func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
|
||
|
|
||
|
func (m *Config) GetIdentity() *Identity {
|
||
|
if m != nil {
|
||
|
return m.Identity
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Config) GetContacts() map[string]*Contact {
|
||
|
if m != nil {
|
||
|
return m.Contacts
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Config) GetSecrets() *Secrets {
|
||
|
if m != nil {
|
||
|
return m.Secrets
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// Secrets are not transmitted to frontend RPC clients
|
||
|
type Secrets struct {
|
||
|
ServicePrivateKey []byte `protobuf:"bytes,1,opt,name=servicePrivateKey,proto3" json:"servicePrivateKey,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *Secrets) Reset() { *m = Secrets{} }
|
||
|
func (m *Secrets) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Secrets) ProtoMessage() {}
|
||
|
func (*Secrets) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
|
||
|
|
||
|
func (m *Secrets) GetServicePrivateKey() []byte {
|
||
|
if m != nil {
|
||
|
return m.ServicePrivateKey
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*Config)(nil), "ricochet.Config")
|
||
|
proto.RegisterType((*Secrets)(nil), "ricochet.Secrets")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("config.proto", fileDescriptor5) }
|
||
|
|
||
|
var fileDescriptor5 = []byte{
|
||
|
// 235 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0xce, 0xcf, 0x4b,
|
||
|
0xcb, 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x28, 0xca, 0x4c, 0xce, 0x4f, 0xce,
|
||
|
0x48, 0x2d, 0x91, 0xe2, 0x4d, 0xce, 0xcf, 0x2b, 0x49, 0x4c, 0x2e, 0x81, 0x48, 0x48, 0xf1, 0x65,
|
||
|
0xa6, 0xa4, 0xe6, 0x95, 0x64, 0x96, 0x54, 0x42, 0xf8, 0x4a, 0x1f, 0x19, 0xb9, 0xd8, 0x9c, 0xc1,
|
||
|
0x3a, 0x85, 0xf4, 0xb8, 0x38, 0x60, 0x92, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x42, 0x7a,
|
||
|
0x30, 0x63, 0xf4, 0x3c, 0xa1, 0x32, 0x41, 0x70, 0x35, 0x42, 0x56, 0x5c, 0x1c, 0x50, 0xb3, 0x8b,
|
||
|
0x25, 0x98, 0x14, 0x98, 0x35, 0xb8, 0x8d, 0xe4, 0x10, 0xea, 0x21, 0x66, 0x82, 0x28, 0xb0, 0x02,
|
||
|
0xd7, 0xbc, 0x92, 0xa2, 0xca, 0x20, 0xb8, 0x7a, 0x21, 0x6d, 0x2e, 0xf6, 0xe2, 0xd4, 0xe4, 0xa2,
|
||
|
0xd4, 0x92, 0x62, 0x09, 0x66, 0xb0, 0x55, 0x82, 0x08, 0xad, 0xc1, 0x10, 0x89, 0x20, 0x98, 0x0a,
|
||
|
0x29, 0x3f, 0x2e, 0x5e, 0x14, 0x73, 0x84, 0x04, 0xb8, 0x98, 0xb3, 0x53, 0x21, 0x8e, 0xe4, 0x0c,
|
||
|
0x02, 0x31, 0x85, 0xd4, 0xb9, 0x58, 0xcb, 0x12, 0x73, 0x4a, 0x53, 0x25, 0x98, 0xd0, 0x4d, 0x83,
|
||
|
0xea, 0x0c, 0x82, 0xc8, 0x5b, 0x31, 0x59, 0x30, 0x2a, 0x99, 0x73, 0xb1, 0x43, 0xed, 0x10, 0xd2,
|
||
|
0xe1, 0x12, 0x2c, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0x0d, 0x28, 0xca, 0x2c, 0x4b, 0x2c, 0x49,
|
||
|
0xf5, 0x86, 0x9a, 0xcb, 0x13, 0x84, 0x29, 0x91, 0xc4, 0x06, 0x0e, 0x33, 0x63, 0x40, 0x00, 0x00,
|
||
|
0x00, 0xff, 0xff, 0x42, 0xba, 0x23, 0x37, 0x6c, 0x01, 0x00, 0x00,
|
||
|
}
|