Documentation
¶
Index ¶
- type CLSDto
- type InfluxDto
- type Payload
- type Transfer
- func (x *Transfer) Close() error
- func (x *Transfer) Create(ctx context.Context, key string, topic string, description string) (err error)
- func (x *Transfer) Delete(ctx context.Context, key string) (err error)
- func (x *Transfer) Get(ctx context.Context) (result []*api.Transfer, err error)
- func (x *Transfer) Info(ctx context.Context, key string) (*api.InfoReply, error)
- func (x *Transfer) Publish(ctx context.Context, topic string, payload Payload) (err error)
- func (x *Transfer) Update(ctx context.Context, key string, description string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶ added in v1.1.3
type Payload []byte
func NewPayload ¶ added in v1.1.3
NewPayload 创建载荷
type Transfer ¶
type Transfer struct {
// contains filtered or unexported fields
}
func (*Transfer) Create ¶ added in v1.1.1
func (x *Transfer) Create(ctx context.Context, key string, topic string, description string) (err error)
Create 创建传输
Click to show internal directories.
Click to hide internal directories.