rclone/vendor/storj.io/drpc/drpcmetadata/invoke/README.md

81 lines
1.4 KiB
Markdown
Raw Normal View History

2020-05-11 18:57:46 +00:00
# package invoke
`import "storj.io/drpc/drpcmetadata/invoke"`
2020-05-11 18:57:46 +00:00
Package invoke defines the proto messages exposed by drpc for sending metadata
across the wire.
## Usage
#### type Metadata
2020-05-11 18:57:46 +00:00
```go
type Metadata struct {
Data map[string]string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
2020-05-11 18:57:46 +00:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
```
#### func (*Metadata) Descriptor
2020-05-11 18:57:46 +00:00
```go
func (*Metadata) Descriptor() ([]byte, []int)
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) GetData
2020-05-11 18:57:46 +00:00
```go
func (m *Metadata) GetData() map[string]string
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) ProtoMessage
2020-05-11 18:57:46 +00:00
```go
func (*Metadata) ProtoMessage()
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) Reset
2020-05-11 18:57:46 +00:00
```go
func (m *Metadata) Reset()
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) String
2020-05-11 18:57:46 +00:00
```go
func (m *Metadata) String() string
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) XXX_DiscardUnknown
2020-05-11 18:57:46 +00:00
```go
func (m *Metadata) XXX_DiscardUnknown()
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) XXX_Marshal
2020-05-11 18:57:46 +00:00
```go
func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) XXX_Merge
2020-05-11 18:57:46 +00:00
```go
func (m *Metadata) XXX_Merge(src proto.Message)
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) XXX_Size
2020-05-11 18:57:46 +00:00
```go
func (m *Metadata) XXX_Size() int
2020-05-11 18:57:46 +00:00
```
#### func (*Metadata) XXX_Unmarshal
2020-05-11 18:57:46 +00:00
```go
func (m *Metadata) XXX_Unmarshal(b []byte) error
2020-05-11 18:57:46 +00:00
```