Versions in this module Expand all Collapse all v0 v0.1.0 Sep 15, 2018 Changes in this version + func RegisterProxyServer(s *grpc.Server, srv ProxyServer) + type Backend struct + Host string + Upstreams []*Upstream + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Backend) Descriptor() ([]byte, []int) + func (*Backend) ProtoMessage() + func (dst *Backend) XXX_Merge(src proto.Message) + func (m *Backend) GetHost() string + func (m *Backend) GetUpstreams() []*Upstream + func (m *Backend) Reset() + func (m *Backend) String() string + func (m *Backend) XXX_DiscardUnknown() + func (m *Backend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Backend) XXX_Size() int + func (m *Backend) XXX_Unmarshal(b []byte) error + type BackendRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BackendRequest) Descriptor() ([]byte, []int) + func (*BackendRequest) ProtoMessage() + func (dst *BackendRequest) XXX_Merge(src proto.Message) + func (m *BackendRequest) Reset() + func (m *BackendRequest) String() string + func (m *BackendRequest) XXX_DiscardUnknown() + func (m *BackendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BackendRequest) XXX_Size() int + func (m *BackendRequest) XXX_Unmarshal(b []byte) error + type BackendResponse struct + Backends []*Backend + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BackendResponse) Descriptor() ([]byte, []int) + func (*BackendResponse) ProtoMessage() + func (dst *BackendResponse) XXX_Merge(src proto.Message) + func (m *BackendResponse) GetBackends() []*Backend + func (m *BackendResponse) Reset() + func (m *BackendResponse) String() string + func (m *BackendResponse) XXX_DiscardUnknown() + func (m *BackendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BackendResponse) XXX_Size() int + func (m *BackendResponse) XXX_Unmarshal(b []byte) error + type ProxyClient interface + Backends func(ctx context.Context, in *BackendRequest, opts ...grpc.CallOption) (*BackendResponse, error) + Reload func(ctx context.Context, in *ReloadRequest, opts ...grpc.CallOption) (*types.Empty, error) + func NewProxyClient(cc *grpc.ClientConn) ProxyClient + type ProxyServer interface + Backends func(context.Context, *BackendRequest) (*BackendResponse, error) + Reload func(context.Context, *ReloadRequest) (*types.Empty, error) + type ReloadRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReloadRequest) Descriptor() ([]byte, []int) + func (*ReloadRequest) ProtoMessage() + func (dst *ReloadRequest) XXX_Merge(src proto.Message) + func (m *ReloadRequest) Reset() + func (m *ReloadRequest) String() string + func (m *ReloadRequest) XXX_DiscardUnknown() + func (m *ReloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReloadRequest) XXX_Size() int + func (m *ReloadRequest) XXX_Unmarshal(b []byte) error + type Upstream struct + Address string + Latency *types.Duration + Status string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Upstream) Descriptor() ([]byte, []int) + func (*Upstream) ProtoMessage() + func (dst *Upstream) XXX_Merge(src proto.Message) + func (m *Upstream) GetAddress() string + func (m *Upstream) GetLatency() *types.Duration + func (m *Upstream) GetStatus() string + func (m *Upstream) Reset() + func (m *Upstream) String() string + func (m *Upstream) XXX_DiscardUnknown() + func (m *Upstream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Upstream) XXX_Size() int + func (m *Upstream) XXX_Unmarshal(b []byte) error