dbx_list

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List interface {
	Call(opts ...ListOpt) dbx_response.Response
}

type ListOpt

type ListOpt func(o ListOpts) ListOpts

func Continue

func Continue(endpoint string) ListOpt

func OnEntry

func OnEntry(f func(entry es_json.Json) error) ListOpt

func OnResponse

func OnResponse(f func(res es_response.Response) error) ListOpt

func ResultTag

func ResultTag(tag string) ListOpt

func UseHasMore

func UseHasMore() ListOpt

type ListOpts

type ListOpts struct {
	ContinueEndpoint string
	UseHasMore       bool
	ResultTag        string
	// contains filtered or unexported fields
}

func Combined

func Combined(opts []ListOpt) ListOpts

func (ListOpts) HasOnEntry

func (z ListOpts) HasOnEntry() bool

func (ListOpts) HasOnResponse

func (z ListOpts) HasOnResponse() bool

func (ListOpts) OnEntry

func (z ListOpts) OnEntry(entry es_json.Json) error

func (ListOpts) OnResponse

func (z ListOpts) OnResponse(res es_response.Response) error

Jump to

Keyboard shortcuts

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