sv_activity

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity interface {
	All(handler func(event *mo_activity.Event) error) (err error)
	List(handler func(event *mo_activity.Event) error, opts ...ListOpt) error
}

func New

func New(ctx dbx_context.Context) Activity

type ListOpt

type ListOpt func(opts *ListOpts) *ListOpts

func AccountId

func AccountId(accountId string) ListOpt

func Category

func Category(category string) ListOpt

func EndTime

func EndTime(time string) ListOpt

func StartTime

func StartTime(time string) ListOpt

type ListOpts

type ListOpts struct {
	StartTime string
	EndTime   string
	Category  string
	AccountId string
}

Jump to

Keyboard shortcuts

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