common

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// GetOperation
	//
	// Gets the operation of a previous long running call.
	GetOperation(request *GetOperationRequest, opts ...option.Option) (*OperationResponse, error)

	// ListOperations
	//
	// Lists operations that match the specified filter in the request.
	ListOperations(request *ListOperationsRequest, opts ...option.Option) (*ListOperationsResponse, error)

	// Done
	//
	// When the data of a day is imported completely,
	// you should notify bytedance through `done` method,
	// then bytedance will start handling the data in this day
	// @param dateList, optional, if dataList is empty, indicate target date is previous day
	Done(dateList []time.Time, topic string, opts ...option.Option) (*DoneResponse, error)
}

func NewClient

func NewClient(cli *HTTPCaller, cu *URL) Client

type URL

type URL struct {
	// contains filtered or unexported fields
}

func NewURL

func NewURL(context *core.Context) *URL

func (*URL) Refresh

func (receiver *URL) Refresh(hosts []string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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