Documentation ¶
Overview ¶
Package types is a generated protocol buffer package.
It is generated from these files:
types.proto
It has these top-level messages:
IsGrayArgs IsGrayResult GetArgs DeleteArgs SetArgs
Index ¶
- Variables
- type DeleteArgs
- func (*DeleteArgs) Descriptor() ([]byte, []int)
- func (m *DeleteArgs) GetUri() string
- func (m *DeleteArgs) Marshal() (dAtA []byte, err error)
- func (m *DeleteArgs) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteArgs) ProtoMessage()
- func (m *DeleteArgs) Reset()
- func (m *DeleteArgs) Size() (n int)
- func (m *DeleteArgs) String() string
- func (m *DeleteArgs) Unmarshal(dAtA []byte) error
- type GetArgs
- func (*GetArgs) Descriptor() ([]byte, []int)
- func (m *GetArgs) GetUri() string
- func (m *GetArgs) Marshal() (dAtA []byte, err error)
- func (m *GetArgs) MarshalTo(dAtA []byte) (int, error)
- func (*GetArgs) ProtoMessage()
- func (m *GetArgs) Reset()
- func (m *GetArgs) Size() (n int)
- func (m *GetArgs) String() string
- func (m *GetArgs) Unmarshal(dAtA []byte) error
- type GrayMatch
- type IsGrayArgs
- func (*IsGrayArgs) Descriptor() ([]byte, []int)
- func (m *IsGrayArgs) GetUid() string
- func (m *IsGrayArgs) GetUri() string
- func (m *IsGrayArgs) Marshal() (dAtA []byte, err error)
- func (m *IsGrayArgs) MarshalTo(dAtA []byte) (int, error)
- func (*IsGrayArgs) ProtoMessage()
- func (m *IsGrayArgs) Reset()
- func (m *IsGrayArgs) Size() (n int)
- func (m *IsGrayArgs) String() string
- func (m *IsGrayArgs) Unmarshal(dAtA []byte) error
- type IsGrayResult
- func (*IsGrayResult) Descriptor() ([]byte, []int)
- func (m *IsGrayResult) GetGray() bool
- func (m *IsGrayResult) Marshal() (dAtA []byte, err error)
- func (m *IsGrayResult) MarshalTo(dAtA []byte) (int, error)
- func (*IsGrayResult) ProtoMessage()
- func (m *IsGrayResult) Reset()
- func (m *IsGrayResult) Size() (n int)
- func (m *IsGrayResult) String() string
- func (m *IsGrayResult) Unmarshal(dAtA []byte) error
- type SetArgs
- func (*SetArgs) Descriptor() ([]byte, []int)
- func (m *SetArgs) GetRegexp() string
- func (m *SetArgs) GetUri() string
- func (m *SetArgs) Marshal() (dAtA []byte, err error)
- func (m *SetArgs) MarshalTo(dAtA []byte) (int, error)
- func (*SetArgs) ProtoMessage()
- func (m *SetArgs) Reset()
- func (m *SetArgs) Size() (n int)
- func (m *SetArgs) String() string
- func (m *SetArgs) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type DeleteArgs ¶
type DeleteArgs struct {
Uri string `param:"<nonzero> <rerr:400:Uri can not be empty>" protobuf:"bytes,1,opt,name=Uri,proto3" json:"Uri,omitempty"`
}
DeleteArgs delete API parameters
func (*DeleteArgs) Descriptor ¶
func (*DeleteArgs) Descriptor() ([]byte, []int)
func (*DeleteArgs) GetUri ¶
func (m *DeleteArgs) GetUri() string
func (*DeleteArgs) Marshal ¶
func (m *DeleteArgs) Marshal() (dAtA []byte, err error)
func (*DeleteArgs) ProtoMessage ¶
func (*DeleteArgs) ProtoMessage()
func (*DeleteArgs) Reset ¶
func (m *DeleteArgs) Reset()
func (*DeleteArgs) Size ¶
func (m *DeleteArgs) Size() (n int)
func (*DeleteArgs) String ¶
func (m *DeleteArgs) String() string
func (*DeleteArgs) Unmarshal ¶
func (m *DeleteArgs) Unmarshal(dAtA []byte) error
type GetArgs ¶
type GetArgs struct {
Uri string `param:"<nonzero> <rerr:400:Uri can not be empty>" protobuf:"bytes,1,opt,name=Uri,proto3" json:"Uri,omitempty"`
}
GetArgs get API parameters
func (*GetArgs) Descriptor ¶
func (*GetArgs) ProtoMessage ¶
func (*GetArgs) ProtoMessage()
type IsGrayArgs ¶
type IsGrayArgs struct { Uri string `param:"<nozero> <rerr:400:Uri can not be empty>" protobuf:"bytes,1,opt,name=Uri,proto3" json:"Uri,omitempty"` Uid string `param:"<nozero> <rerr:400:Uid can not be empty>" protobuf:"bytes,2,opt,name=Uid,proto3" json:"Uid,omitempty"` }
IsGrayArgs is_gray API parameters
func (*IsGrayArgs) Descriptor ¶
func (*IsGrayArgs) Descriptor() ([]byte, []int)
func (*IsGrayArgs) GetUid ¶
func (m *IsGrayArgs) GetUid() string
func (*IsGrayArgs) GetUri ¶
func (m *IsGrayArgs) GetUri() string
func (*IsGrayArgs) Marshal ¶
func (m *IsGrayArgs) Marshal() (dAtA []byte, err error)
func (*IsGrayArgs) ProtoMessage ¶
func (*IsGrayArgs) ProtoMessage()
func (*IsGrayArgs) Reset ¶
func (m *IsGrayArgs) Reset()
func (*IsGrayArgs) Size ¶
func (m *IsGrayArgs) Size() (n int)
func (*IsGrayArgs) String ¶
func (m *IsGrayArgs) String() string
func (*IsGrayArgs) Unmarshal ¶
func (m *IsGrayArgs) Unmarshal(dAtA []byte) error
type IsGrayResult ¶
type IsGrayResult struct {
Gray bool `protobuf:"varint,1,opt,name=Gray,proto3" json:"Gray,omitempty"`
}
IsGrayResult is_gray API result
func (*IsGrayResult) Descriptor ¶
func (*IsGrayResult) Descriptor() ([]byte, []int)
func (*IsGrayResult) GetGray ¶
func (m *IsGrayResult) GetGray() bool
func (*IsGrayResult) Marshal ¶
func (m *IsGrayResult) Marshal() (dAtA []byte, err error)
func (*IsGrayResult) ProtoMessage ¶
func (*IsGrayResult) ProtoMessage()
func (*IsGrayResult) Reset ¶
func (m *IsGrayResult) Reset()
func (*IsGrayResult) Size ¶
func (m *IsGrayResult) Size() (n int)
func (*IsGrayResult) String ¶
func (m *IsGrayResult) String() string
func (*IsGrayResult) Unmarshal ¶
func (m *IsGrayResult) Unmarshal(dAtA []byte) error
type SetArgs ¶
type SetArgs struct { Uri string `param:"<nonzero> <rerr:400:Uri can not be empty>" protobuf:"bytes,1,opt,name=Uri,proto3" json:"uri"` Regexp string `protobuf:"bytes,2,opt,name=Regexp,proto3" json:"regexp"` }
SetArgs set API parameters
func (*SetArgs) Descriptor ¶
func (*SetArgs) ProtoMessage ¶
func (*SetArgs) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.