Documentation ¶
Index ¶
- type Redis
- func (*Redis) Descriptor() ([]byte, []int)
- func (m *Redis) GetKey() string
- func (*Redis) ProtoMessage()
- func (m *Redis) Reset()
- func (m *Redis) String() string
- func (m *Redis) XXX_DiscardUnknown()
- func (m *Redis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Redis) XXX_Merge(src proto.Message)
- func (m *Redis) XXX_Size() int
- func (m *Redis) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct { // If set, optionally perform “EXISTS <key>“ instead of “PING“. A return value // from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other // than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance // by setting the specified key to any value and waiting for traffic to drain. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Redis) Descriptor ¶
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
func (*Redis) XXX_DiscardUnknown ¶
func (m *Redis) XXX_DiscardUnknown()
func (*Redis) XXX_Marshal ¶
func (*Redis) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.