types

package
v6.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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

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) MarshalTo

func (m *DeleteArgs) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*GetArgs) GetUri

func (m *GetArgs) GetUri() string

func (*GetArgs) Marshal

func (m *GetArgs) Marshal() (dAtA []byte, err error)

func (*GetArgs) MarshalTo

func (m *GetArgs) MarshalTo(dAtA []byte) (int, error)

func (*GetArgs) ProtoMessage

func (*GetArgs) ProtoMessage()

func (*GetArgs) Reset

func (m *GetArgs) Reset()

func (*GetArgs) Size

func (m *GetArgs) Size() (n int)

func (*GetArgs) String

func (m *GetArgs) String() string

func (*GetArgs) Unmarshal

func (m *GetArgs) Unmarshal(dAtA []byte) error

type GrayMatch

type GrayMatch = model.GrayMatch

GrayMatch

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) MarshalTo

func (m *IsGrayArgs) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *IsGrayResult) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*SetArgs) GetRegexp

func (m *SetArgs) GetRegexp() string

func (*SetArgs) GetUri

func (m *SetArgs) GetUri() string

func (*SetArgs) Marshal

func (m *SetArgs) Marshal() (dAtA []byte, err error)

func (*SetArgs) MarshalTo

func (m *SetArgs) MarshalTo(dAtA []byte) (int, error)

func (*SetArgs) ProtoMessage

func (*SetArgs) ProtoMessage()

func (*SetArgs) Reset

func (m *SetArgs) Reset()

func (*SetArgs) Size

func (m *SetArgs) Size() (n int)

func (*SetArgs) String

func (m *SetArgs) String() string

func (*SetArgs) Unmarshal

func (m *SetArgs) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL