stat

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 7 Imported by: 0

README

Go Report Card GoDoc GolangCI

xmodules/stat for Xamboo - GO

The stat package is used to build a set of monthly log tables for any type of unitary stats, like website hits, IoT eventos, etc.

Version Changes Control

v0.0.1 - 2020-05-08

  • Compatible with xmodule context standard

v0.0.0 - 2020-03-05

  • Support for multithread context implemented

v0.0.0 - 2020-01-03

  • This file was added

v0.0.0 - 2019-12-18

  • First release of module

Manual:

I. Stats

Intro


  1. Overview

Example:

import "github.com/webability-go/xmodules/stat"


  1. Reference

To use the package:

import "github.com/webability-go/xmodules/stat"

Documentation

Overview

Package user contains the list of administrative user for the system. All users have accesses, into a profile and even extended access based upon table records. It needs base xmodule.

Index

Constants

View Source
const (
	MODULEID = "stat"
	VERSION  = "0.0.1"
)

Variables

This section is empty.

Functions

func RegisterStat

func RegisterStat(sitecontext *base.Datasource, prefix string, data xdominion.XRecord)

func Setup

func Setup(ds applications.Datasource, prefix string) ([]string, error)

InitModule is called during the init phase to link the module with the system adds tables and caches to ctx::database

func StartContext

func StartContext(ds applications.Datasource, ctx *context.Context) error

func Synchronize

func Synchronize(ds applications.Datasource, prefix string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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