go-micro: github.com/micro/go-micro/registry/service/proto Index | Files

package go_micro_registry

import "github.com/micro/go-micro/registry/service/proto"

Index

Package Files

registry.pb.go registry.pb.micro.go

Variables

var EventType_name = map[int32]string{
    0:  "Create",
    1:  "Delete",
    2:  "Update",
}
var EventType_value = map[string]int32{
    "Create": 0,
    "Delete": 1,
    "Update": 2,
}

func NewRegistryEndpoints Uses

func NewRegistryEndpoints() []*api.Endpoint

func RegisterRegistryHandler Uses

func RegisterRegistryHandler(s server.Server, hdlr RegistryHandler, opts ...server.HandlerOption) error

func RegisterRegistryServer Uses

func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)

type EmptyResponse Uses

type EmptyResponse struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*EmptyResponse) Descriptor Uses

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

func (*EmptyResponse) ProtoMessage Uses

func (*EmptyResponse) ProtoMessage()

func (*EmptyResponse) Reset Uses

func (m *EmptyResponse) Reset()

func (*EmptyResponse) String Uses

func (m *EmptyResponse) String() string

func (*EmptyResponse) XXX_DiscardUnknown Uses

func (m *EmptyResponse) XXX_DiscardUnknown()

func (*EmptyResponse) XXX_Marshal Uses

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

func (*EmptyResponse) XXX_Merge Uses

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

func (*EmptyResponse) XXX_Size Uses

func (m *EmptyResponse) XXX_Size() int

func (*EmptyResponse) XXX_Unmarshal Uses

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

type Endpoint Uses

type Endpoint struct {
    Name                 string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Request              *Value            `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
    Response             *Value            `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
    Metadata             map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Endpoint is a endpoint provided by a service

func (*Endpoint) Descriptor Uses

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

func (*Endpoint) GetMetadata Uses

func (m *Endpoint) GetMetadata() map[string]string

func (*Endpoint) GetName Uses

func (m *Endpoint) GetName() string

func (*Endpoint) GetRequest Uses

func (m *Endpoint) GetRequest() *Value

func (*Endpoint) GetResponse Uses

func (m *Endpoint) GetResponse() *Value

func (*Endpoint) ProtoMessage Uses

func (*Endpoint) ProtoMessage()

func (*Endpoint) Reset Uses

func (m *Endpoint) Reset()

func (*Endpoint) String Uses

func (m *Endpoint) String() string

func (*Endpoint) XXX_DiscardUnknown Uses

func (m *Endpoint) XXX_DiscardUnknown()

func (*Endpoint) XXX_Marshal Uses

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

func (*Endpoint) XXX_Merge Uses

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

func (*Endpoint) XXX_Size Uses

func (m *Endpoint) XXX_Size() int

func (*Endpoint) XXX_Unmarshal Uses

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

type Event Uses

type Event struct {
    // Event Id
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // type of event
    Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=go.micro.registry.EventType" json:"type,omitempty"`
    // unix timestamp of event
    Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
    // service entry
    Service              *Service `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Event is registry event

func (*Event) Descriptor Uses

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

func (*Event) GetId Uses

func (m *Event) GetId() string

func (*Event) GetService Uses

func (m *Event) GetService() *Service

func (*Event) GetTimestamp Uses

func (m *Event) GetTimestamp() int64

func (*Event) GetType Uses

func (m *Event) GetType() EventType

func (*Event) ProtoMessage Uses

func (*Event) ProtoMessage()

func (*Event) Reset Uses

func (m *Event) Reset()

func (*Event) String Uses

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown Uses

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal Uses

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

func (*Event) XXX_Merge Uses

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

func (*Event) XXX_Size Uses

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal Uses

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

type EventType Uses

type EventType int32

EventType defines the type of event

const (
    EventType_Create EventType = 0
    EventType_Delete EventType = 1
    EventType_Update EventType = 2
)

func (EventType) EnumDescriptor Uses

func (EventType) EnumDescriptor() ([]byte, []int)

func (EventType) String Uses

func (x EventType) String() string

type GetRequest Uses

type GetRequest struct {
    Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
    Options              *Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*GetRequest) Descriptor Uses

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

func (*GetRequest) GetOptions Uses

func (m *GetRequest) GetOptions() *Options

func (*GetRequest) GetService Uses

func (m *GetRequest) GetService() string

func (*GetRequest) ProtoMessage Uses

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset Uses

func (m *GetRequest) Reset()

func (*GetRequest) String Uses

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown Uses

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal Uses

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

func (*GetRequest) XXX_Merge Uses

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

func (*GetRequest) XXX_Size Uses

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal Uses

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

type GetResponse Uses

type GetResponse struct {
    Services             []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*GetResponse) Descriptor Uses

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

func (*GetResponse) GetServices Uses

func (m *GetResponse) GetServices() []*Service

func (*GetResponse) ProtoMessage Uses

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset Uses

func (m *GetResponse) Reset()

func (*GetResponse) String Uses

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown Uses

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal Uses

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

func (*GetResponse) XXX_Merge Uses

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

func (*GetResponse) XXX_Size Uses

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal Uses

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

type ListRequest Uses

type ListRequest struct {
    Options              *Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ListRequest) Descriptor Uses

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

func (*ListRequest) GetOptions Uses

func (m *ListRequest) GetOptions() *Options

func (*ListRequest) ProtoMessage Uses

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset Uses

func (m *ListRequest) Reset()

func (*ListRequest) String Uses

func (m *ListRequest) String() string

func (*ListRequest) XXX_DiscardUnknown Uses

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal Uses

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

func (*ListRequest) XXX_Merge Uses

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

func (*ListRequest) XXX_Size Uses

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal Uses

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

type ListResponse Uses

type ListResponse struct {
    Services             []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*ListResponse) Descriptor Uses

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

func (*ListResponse) GetServices Uses

func (m *ListResponse) GetServices() []*Service

func (*ListResponse) ProtoMessage Uses

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset Uses

func (m *ListResponse) Reset()

func (*ListResponse) String Uses

func (m *ListResponse) String() string

func (*ListResponse) XXX_DiscardUnknown Uses

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal Uses

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

func (*ListResponse) XXX_Merge Uses

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

func (*ListResponse) XXX_Size Uses

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal Uses

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

type Node Uses

type Node struct {
    Id                   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    Address              string            `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
    Port                 int64             `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
    Metadata             map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Node represents the node the service is on

func (*Node) Descriptor Uses

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

func (*Node) GetAddress Uses

func (m *Node) GetAddress() string

func (*Node) GetId Uses

func (m *Node) GetId() string

func (*Node) GetMetadata Uses

func (m *Node) GetMetadata() map[string]string

func (*Node) GetPort Uses

func (m *Node) GetPort() int64

func (*Node) ProtoMessage Uses

func (*Node) ProtoMessage()

func (*Node) Reset Uses

func (m *Node) Reset()

func (*Node) String Uses

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown Uses

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal Uses

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

func (*Node) XXX_Merge Uses

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

func (*Node) XXX_Size Uses

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal Uses

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

type Options Uses

type Options struct {
    Ttl                  int64    `protobuf:"varint,1,opt,name=ttl,proto3" json:"ttl,omitempty"`
    Domain               string   `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Options are registry options

func (*Options) Descriptor Uses

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

func (*Options) GetDomain Uses

func (m *Options) GetDomain() string

func (*Options) GetTtl Uses

func (m *Options) GetTtl() int64

func (*Options) ProtoMessage Uses

func (*Options) ProtoMessage()

func (*Options) Reset Uses

func (m *Options) Reset()

func (*Options) String Uses

func (m *Options) String() string

func (*Options) XXX_DiscardUnknown Uses

func (m *Options) XXX_DiscardUnknown()

func (*Options) XXX_Marshal Uses

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

func (*Options) XXX_Merge Uses

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

func (*Options) XXX_Size Uses

func (m *Options) XXX_Size() int

func (*Options) XXX_Unmarshal Uses

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

type RegistryClient Uses

type RegistryClient interface {
    GetService(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
    Register(ctx context.Context, in *Service, opts ...grpc.CallOption) (*EmptyResponse, error)
    Deregister(ctx context.Context, in *Service, opts ...grpc.CallOption) (*EmptyResponse, error)
    ListServices(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
    Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Registry_WatchClient, error)
}

RegistryClient is the client API for Registry service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRegistryClient Uses

func NewRegistryClient(cc *grpc.ClientConn) RegistryClient

type RegistryHandler Uses

type RegistryHandler interface {
    GetService(context.Context, *GetRequest, *GetResponse) error
    Register(context.Context, *Service, *EmptyResponse) error
    Deregister(context.Context, *Service, *EmptyResponse) error
    ListServices(context.Context, *ListRequest, *ListResponse) error
    Watch(context.Context, *WatchRequest, Registry_WatchStream) error
}

type RegistryServer Uses

type RegistryServer interface {
    GetService(context.Context, *GetRequest) (*GetResponse, error)
    Register(context.Context, *Service) (*EmptyResponse, error)
    Deregister(context.Context, *Service) (*EmptyResponse, error)
    ListServices(context.Context, *ListRequest) (*ListResponse, error)
    Watch(*WatchRequest, Registry_WatchServer) error
}

RegistryServer is the server API for Registry service.

type RegistryService Uses

type RegistryService interface {
    GetService(ctx context.Context, in *GetRequest, opts ...client.CallOption) (*GetResponse, error)
    Register(ctx context.Context, in *Service, opts ...client.CallOption) (*EmptyResponse, error)
    Deregister(ctx context.Context, in *Service, opts ...client.CallOption) (*EmptyResponse, error)
    ListServices(ctx context.Context, in *ListRequest, opts ...client.CallOption) (*ListResponse, error)
    Watch(ctx context.Context, in *WatchRequest, opts ...client.CallOption) (Registry_WatchService, error)
}

func NewRegistryService Uses

func NewRegistryService(name string, c client.Client) RegistryService

type Registry_WatchClient Uses

type Registry_WatchClient interface {
    Recv() (*Result, error)
    grpc.ClientStream
}

type Registry_WatchServer Uses

type Registry_WatchServer interface {
    Send(*Result) error
    grpc.ServerStream
}

type Registry_WatchService Uses

type Registry_WatchService interface {
    Context() context.Context
    SendMsg(interface{}) error
    RecvMsg(interface{}) error
    Close() error
    Recv() (*Result, error)
}

type Registry_WatchStream Uses

type Registry_WatchStream interface {
    Context() context.Context
    SendMsg(interface{}) error
    RecvMsg(interface{}) error
    Close() error
    Send(*Result) error
}

type Result Uses

type Result struct {
    Action               string   `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
    Service              *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
    Timestamp            int64    `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Result is returns by the watcher

func (*Result) Descriptor Uses

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

func (*Result) GetAction Uses

func (m *Result) GetAction() string

func (*Result) GetService Uses

func (m *Result) GetService() *Service

func (*Result) GetTimestamp Uses

func (m *Result) GetTimestamp() int64

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 Service Uses

type Service struct {
    Name                 string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Version              string            `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
    Metadata             map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    Endpoints            []*Endpoint       `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
    Nodes                []*Node           `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
    Options              *Options          `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Service represents a go-micro service

func (*Service) Descriptor Uses

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

func (*Service) GetEndpoints Uses

func (m *Service) GetEndpoints() []*Endpoint

func (*Service) GetMetadata Uses

func (m *Service) GetMetadata() map[string]string

func (*Service) GetName Uses

func (m *Service) GetName() string

func (*Service) GetNodes Uses

func (m *Service) GetNodes() []*Node

func (*Service) GetOptions Uses

func (m *Service) GetOptions() *Options

func (*Service) GetVersion Uses

func (m *Service) GetVersion() string

func (*Service) ProtoMessage Uses

func (*Service) ProtoMessage()

func (*Service) Reset Uses

func (m *Service) Reset()

func (*Service) String Uses

func (m *Service) String() string

func (*Service) XXX_DiscardUnknown Uses

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal Uses

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

func (*Service) XXX_Merge Uses

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

func (*Service) XXX_Size Uses

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal Uses

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

type UnimplementedRegistryServer Uses

type UnimplementedRegistryServer struct {
}

UnimplementedRegistryServer can be embedded to have forward compatible implementations.

func (*UnimplementedRegistryServer) Deregister Uses

func (*UnimplementedRegistryServer) Deregister(ctx context.Context, req *Service) (*EmptyResponse, error)

func (*UnimplementedRegistryServer) GetService Uses

func (*UnimplementedRegistryServer) GetService(ctx context.Context, req *GetRequest) (*GetResponse, error)

func (*UnimplementedRegistryServer) ListServices Uses

func (*UnimplementedRegistryServer) ListServices(ctx context.Context, req *ListRequest) (*ListResponse, error)

func (*UnimplementedRegistryServer) Register Uses

func (*UnimplementedRegistryServer) Register(ctx context.Context, req *Service) (*EmptyResponse, error)

func (*UnimplementedRegistryServer) Watch Uses

func (*UnimplementedRegistryServer) Watch(req *WatchRequest, srv Registry_WatchServer) error

type Value Uses

type Value struct {
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
    Values               []*Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Value is an opaque value for a request or response

func (*Value) Descriptor Uses

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

func (*Value) GetName Uses

func (m *Value) GetName() string

func (*Value) GetType Uses

func (m *Value) GetType() string

func (*Value) GetValues Uses

func (m *Value) GetValues() []*Value

func (*Value) ProtoMessage Uses

func (*Value) ProtoMessage()

func (*Value) Reset Uses

func (m *Value) Reset()

func (*Value) String Uses

func (m *Value) String() string

func (*Value) XXX_DiscardUnknown Uses

func (m *Value) XXX_DiscardUnknown()

func (*Value) XXX_Marshal Uses

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

func (*Value) XXX_Merge Uses

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

func (*Value) XXX_Size Uses

func (m *Value) XXX_Size() int

func (*Value) XXX_Unmarshal Uses

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

type WatchRequest Uses

type WatchRequest struct {
    // service is optional
    Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
    Options              *Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*WatchRequest) Descriptor Uses

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

func (*WatchRequest) GetOptions Uses

func (m *WatchRequest) GetOptions() *Options

func (*WatchRequest) GetService Uses

func (m *WatchRequest) GetService() string

func (*WatchRequest) ProtoMessage Uses

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) Reset Uses

func (m *WatchRequest) Reset()

func (*WatchRequest) String Uses

func (m *WatchRequest) String() string

func (*WatchRequest) XXX_DiscardUnknown Uses

func (m *WatchRequest) XXX_DiscardUnknown()

func (*WatchRequest) XXX_Marshal Uses

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

func (*WatchRequest) XXX_Merge Uses

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

func (*WatchRequest) XXX_Size Uses

func (m *WatchRequest) XXX_Size() int

func (*WatchRequest) XXX_Unmarshal Uses

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

Package go_micro_registry imports 10 packages (graph) and is imported by 6 packages. Updated 2020-07-04. Refresh now. Tools for package owners.