v0.2.2 Latest Latest

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 21 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type BaseFeature

type BaseFeature struct {
	// contains filtered or unexported fields

BaseFeature represent BaseFeature

func (*BaseFeature) GetHandler

func (f *BaseFeature) GetHandler() *handler.Handler

GetHandler get superHandler

func (*BaseFeature) SetIdentity

func (f *BaseFeature) SetIdentity(c echo.Context) (identity.Identity, error)

SetIdentity set Identity

func (*BaseFeature) SetSession added in v0.2.1

func (f *BaseFeature) SetSession(sessionValue string, expiration int64) error

SetSession set Session

type FAuths

type FAuths struct {
	// contains filtered or unexported fields

FAuths feature Auths

func NewFAuths

func NewFAuths(h *handler.Handler) (*FAuths, error)

NewFAuths new FAuths

func (*FAuths) ActivateRegistration

func (f *FAuths) ActivateRegistration(c echo.Context) error

ActivateRegistration activater user registration

func (*FAuths) Login

func (f *FAuths) Login(c echo.Context) error

Login user Login

func (*FAuths) LoginApp

func (f *FAuths) LoginApp(c echo.Context) error

LoginApp login client app

func (*FAuths) RegisterUser

func (f *FAuths) RegisterUser(c echo.Context) error

RegisterUser register user

type FCovid19

type FCovid19 struct {
	// contains filtered or unexported fields

FCovid19 represent FCovid19

func NewFCovid19

func NewFCovid19(h *handler.Handler) (*FCovid19, error)

NewFCovid19 new FCovid19

func (*FCovid19) DisplayCurrentDataByCountry

func (f *FCovid19) DisplayCurrentDataByCountry(c echo.Context) error

DisplayCurrentDataByCountry display CurrentDataByCountry

type FEmail added in v0.2.0

type FEmail struct {
	// contains filtered or unexported fields

FEmail represent Email Feature

func NewFEmail added in v0.2.0

func NewFEmail(h *handler.Handler) (*FEmail, error)

NewFEmail new FEmail

func (*FEmail) CreateEmailTemplate added in v0.2.0

func (f *FEmail) CreateEmailTemplate(c echo.Context) error

CreateEmailTemplate create EmailTemplate

func (*FEmail) DeleteEmailTemplate added in v0.2.0

func (f *FEmail) DeleteEmailTemplate(c echo.Context) error

DeleteEmailTemplate delete existing EmailTemplate with template version

func (*FEmail) FindEmailTemplateByCode added in v0.2.0

func (f *FEmail) FindEmailTemplateByCode(c echo.Context) error

FindEmailTemplateByCode find EmailTemplateByCode

func (*FEmail) ListAllEmailTemplate added in v0.2.0

func (f *FEmail) ListAllEmailTemplate(c echo.Context) error

ListAllEmailTemplate list all EmailTemplate

func (*FEmail) SendEmail added in v0.2.0

func (f *FEmail) SendEmail(c echo.Context) error

SendEmail send Email

func (*FEmail) SetActiveEmailTemplate added in v0.2.0

func (f *FEmail) SetActiveEmailTemplate(c echo.Context) error

SetActiveEmailTemplate set existing EmailTemplate active status

func (*FEmail) UpdateEmailTemplate added in v0.2.0

func (f *FEmail) UpdateEmailTemplate(c echo.Context) error

UpdateEmailTemplate update existing EmailTemplate

type FGeoLocation

type FGeoLocation struct {
	// contains filtered or unexported fields

FGeoLocation represent FGeoLocation

func NewFGeoLocation

func NewFGeoLocation(h *handler.Handler) (*FGeoLocation, error)

NewFGeoLocation new FGeoLocation

func (*FGeoLocation) AddCountry

func (f *FGeoLocation) AddCountry(c echo.Context) error

AddCountry add Country

func (*FGeoLocation) DeleteCountry

func (f *FGeoLocation) DeleteCountry(c echo.Context) error

DeleteCountry delete Country

func (*FGeoLocation) GetCountry

func (f *FGeoLocation) GetCountry(c echo.Context) error

GetCountry get Country

func (*FGeoLocation) ListAllCountry

func (f *FGeoLocation) ListAllCountry(c echo.Context) error

ListAllCountry list AllCountry

func (*FGeoLocation) RefreshCountryIndexer added in v0.2.2

func (f *FGeoLocation) RefreshCountryIndexer(c echo.Context) error

RefreshCountryIndexer refresh Country Indexer

func (*FGeoLocation) SearchCountryIndexer added in v0.2.2

func (f *FGeoLocation) SearchCountryIndexer(c echo.Context) error

SearchCountryIndexer search Country Indexer

func (*FGeoLocation) UpdateCountry

func (f *FGeoLocation) UpdateCountry(c echo.Context) error

UpdateCountry update Country

type FOpenAPI

type FOpenAPI struct {

FOpenAPI represent FOpenAPI

func NewOpenAPI

func NewOpenAPI(h *handler.Handler) (*FOpenAPI, error)

NewOpenAPI new FOpenAPI

func (*FOpenAPI) GenOpenAPI

func (f *FOpenAPI) GenOpenAPI(c echo.Context) error

GenOpenAPI generate openapi definition

func (*FOpenAPI) SwaggerUI

func (f *FOpenAPI) SwaggerUI(c echo.Context) error

SwaggerUI generate SwaggerUI html page

type FSystem

type FSystem struct {

FSystem represent FSystem

func NewSystem

func NewSystem(h *handler.Handler) (*FSystem, error)

NewSystem new FSystem

func (*FSystem) GenerateCaptcha

func (f *FSystem) GenerateCaptcha(c echo.Context) error

GenerateCaptcha generate Captcha

func (*FSystem) GenerateCaptchaImage

func (f *FSystem) GenerateCaptchaImage(c echo.Context) error

GenerateCaptchaImage generate CaptchaImage

func (*FSystem) HealthCheck

func (f *FSystem) HealthCheck(c echo.Context) error

HealthCheck display system health check

type Feature

type Feature struct {

	System      *FSystem
	OpenAPI     *FOpenAPI
	Auths       *FAuths
	Covid19     *FCovid19
	GeoLocation *FGeoLocation
	Email       *FEmail

Feature represet Feature

func NewFeature

func NewFeature(h *handler.Handler) (*Feature, error)

NewFeature new Feature


Path Synopsis

Jump to

Keyboard shortcuts

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