logic

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserDayKeep

func GetUserDayKeep(userArr [][]uint64) (float32, int, int)

func GetUserDayKeepByBitmapArr

func GetUserDayKeepByBitmapArr(userBitmapArr []*roaring64.Bitmap) (keep float32, total int, left int)

GetUserDayKeepByBitmapArr 获取留存数据 keep :留存率 , total 对应天总注册人数, left 对应天注册留存人数

Types

type BitMapServChannelsMultiGetLogic

type BitMapServChannelsMultiGetLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBitMapServChannelsMultiGetLogic

func NewBitMapServChannelsMultiGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) BitMapServChannelsMultiGetLogic

func (*BitMapServChannelsMultiGetLogic) BitMapServChannelsMultiGet

type BitMapServChannelsMultiPostLogic

type BitMapServChannelsMultiPostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBitMapServChannelsMultiPostLogic

func NewBitMapServChannelsMultiPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) BitMapServChannelsMultiPostLogic

func (*BitMapServChannelsMultiPostLogic) BitMapServChannelsMultiPost

type BitMapServMultiGetLogic

type BitMapServMultiGetLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBitMapServMultiGetLogic

func NewBitMapServMultiGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) BitMapServMultiGetLogic

func (*BitMapServMultiGetLogic) BitMapServMultiGet

func (l *BitMapServMultiGetLogic) BitMapServMultiGet(req types.MulitRequest) (*types.MulitResponse, error)

type BitMapServMultiLogic

type BitMapServMultiLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBitMapServMultiLogic

func NewBitMapServMultiLogic(ctx context.Context, svcCtx *svc.ServiceContext) BitMapServMultiLogic

func (*BitMapServMultiLogic) BitMapServMulti

func (l *BitMapServMultiLogic) BitMapServMulti(req types.MulitRequest) (*types.MulitResponse, error)

type BitMapServMultiPostLogic

type BitMapServMultiPostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBitMapServMultiPostLogic

func NewBitMapServMultiPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) BitMapServMultiPostLogic

func (*BitMapServMultiPostLogic) BitMapServMultiPost

func (l *BitMapServMultiPostLogic) BitMapServMultiPost(req types.MulitRequest) (*types.MulitResponse, error)

type BitMapServSingleGetLogic

type BitMapServSingleGetLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBitMapServSingleGetLogic

func NewBitMapServSingleGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) BitMapServSingleGetLogic

func (*BitMapServSingleGetLogic) BitMapServSingleGet

func (l *BitMapServSingleGetLogic) BitMapServSingleGet(req types.SingleRequest) (*types.SingleResponse, error)

type BitMapServSingleLogic

type BitMapServSingleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBitMapServSingleLogic

func NewBitMapServSingleLogic(ctx context.Context, svcCtx *svc.ServiceContext) BitMapServSingleLogic

func (*BitMapServSingleLogic) BitMapServSingle

func (l *BitMapServSingleLogic) BitMapServSingle(req types.SingleRequest) (*types.SingleResponse, error)

type BitMapServSinglePostLogic

type BitMapServSinglePostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBitMapServSinglePostLogic

func NewBitMapServSinglePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) BitMapServSinglePostLogic

func (*BitMapServSinglePostLogic) BitMapServSinglePost

func (l *BitMapServSinglePostLogic) BitMapServSinglePost(req types.SingleRequest) (*types.SingleResponse, error)

type GetIndexLogic

type GetIndexLogic struct {
	Logger logx.Logger
	// contains filtered or unexported fields
}

func NewGetIndexLogic

func NewGetIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) GetIndexLogic

func (*GetIndexLogic) GetIndex

func (l *GetIndexLogic) GetIndex() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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