9bdee7b106
* WIP possible discovery service impl * Adds discovery service to CaptPlanet * Updates the config and server for discovery service * updates testplanet to use discovery package * update satellite imports * Removes unnecessary cache test * linter fixes * adds discovery startup to captplanet * invoke refresh * updates to discovery refresh cycle * Make implementation more consistent with previous implementation * add wait before trying to upload * sleep a bit more * remove kademlia bootstrap * updates * remove comments
75 lines
2.5 KiB
Go
75 lines
2.5 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: discovery.proto
|
|
|
|
package pb
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// DiscoveryClient is the client API for Discovery service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type DiscoveryClient interface {
|
|
}
|
|
|
|
type discoveryClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewDiscoveryClient(cc *grpc.ClientConn) DiscoveryClient {
|
|
return &discoveryClient{cc}
|
|
}
|
|
|
|
// DiscoveryServer is the server API for Discovery service.
|
|
type DiscoveryServer interface {
|
|
}
|
|
|
|
func RegisterDiscoveryServer(s *grpc.Server, srv DiscoveryServer) {
|
|
s.RegisterService(&_Discovery_serviceDesc, srv)
|
|
}
|
|
|
|
var _Discovery_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "discovery.Discovery",
|
|
HandlerType: (*DiscoveryServer)(nil),
|
|
Methods: []grpc.MethodDesc{},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "discovery.proto",
|
|
}
|
|
|
|
func init() { proto.RegisterFile("discovery.proto", fileDescriptor_discovery_38baf63dfe55b3f3) }
|
|
|
|
var fileDescriptor_discovery_38baf63dfe55b3f3 = []byte{
|
|
// 71 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4f, 0xc9, 0x2c, 0x4e,
|
|
0xce, 0x2f, 0x4b, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x84, 0x0b, 0x48,
|
|
0x71, 0xa5, 0xe7, 0xa7, 0xe7, 0x43, 0x84, 0x8d, 0xb8, 0xb9, 0x38, 0x5d, 0x60, 0x12, 0x4e, 0x2c,
|
|
0x51, 0x4c, 0x05, 0x49, 0x49, 0x6c, 0x60, 0x19, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x92,
|
|
0xc2, 0xf4, 0x67, 0x43, 0x00, 0x00, 0x00,
|
|
}
|