service

package
v0.0.0-...-ea02588 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUUIDFromContext

func GetUUIDFromContext(ctx context.Context) string

Types

type AuthService

type AuthService struct {
	ghost.DomainService
}

func NewAuthService

func NewAuthService(ctx context.Context) *AuthService

func (*AuthService) MakeUUID

func (this *AuthService) MakeUUID() string

type StoreService

type StoreService struct {
	ghost.DomainService
}

func NewStoreService

func NewStoreService(ctx context.Context) *StoreService

func (*StoreService) Add

func (this *StoreService) Add(biz string, data ghost.Json)

func (*StoreService) AddMany

func (this *StoreService) AddMany(biz string, datas []ghost.Json, replace bool)

func (*StoreService) Delete

func (this *StoreService) Delete(biz string, dataId int)

func (*StoreService) DeleteByBiz

func (this *StoreService) DeleteByBiz(biz string)

func (*StoreService) Modify

func (this *StoreService) Modify(biz string, dataId int, data ghost.Json)

Jump to

Keyboard shortcuts

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