Documentation ¶
Index ¶
- func Auth(next bwebframework.HandleFunc, client redis.UniversalClient, prefix string) bwebframework.HandleFunc
- func Del(ctx context.Context, client redis.UniversalClient, key string) error
- func HGetAll(ctx context.Context, client redis.UniversalClient, key string) (map[string]string, error)
- func HSet(ctx context.Context, client redis.UniversalClient, key string, ...) error
- func HeaderRule(next bwebframework.HandleFunc) bwebframework.HandleFunc
- func MigrateMiddleWare(next bwebframework.HandleFunc, client redis.UniversalClient, prefix string) bwebframework.HandleFunc
- func NewRouters(r *bwebframework.Router, client redis.UniversalClient, x *mongox.MongoX, ...) *bwebframework.Router
- func QueueInfo(ctx context.Context, client redis.UniversalClient, prefix string) (any, error)
- func QueueKey(prefix string) string
- func ScheduleQueueKey(prefix string) string
- func XRangeN(ctx context.Context, client redis.UniversalClient, stream string, ...) ([]redis.XMessage, error)
- func XRevRange(ctx context.Context, client redis.UniversalClient, stream, start, stop string) ([]redis.XMessage, error)
- func ZRange(ctx context.Context, client redis.UniversalClient, match string, ...) (map[string]any, error)
- func ZRemRangeByScore(ctx context.Context, client redis.UniversalClient, key, min, max string) error
- func ZScan(ctx context.Context, client redis.UniversalClient, key string, cursor uint64, ...) ([]string, uint64, error)
- type Client
- type Dashboard
- type Dlq
- type EventLog
- func (t *EventLog) Delete(ctx *bwebframework.BeanContext) error
- func (t *EventLog) Detail(ctx *bwebframework.BeanContext) error
- func (t *EventLog) Edit(ctx *bwebframework.BeanContext) error
- func (t *EventLog) List(ctx *bwebframework.BeanContext) error
- func (t *EventLog) Retry(ctx *bwebframework.BeanContext) error
- type Index
- type Log
- func (t *Log) Add(w http.ResponseWriter, r *http.Request)
- func (t *Log) Delete(beanContext *bwebframework.BeanContext) error
- func (t *Log) List(beanContext *bwebframework.BeanContext) error
- func (t *Log) OptLogs(beanContext *bwebframework.BeanContext) error
- func (t *Log) Retry(beanContext *bwebframework.BeanContext) error
- type Login
- type Logs
- type Msg
- type ObjectStruct
- type Queue
- type RedisInfo
- type Schedule
- type Stream
- type Ui
- type User
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
func Auth(next bwebframework.HandleFunc, client redis.UniversalClient, prefix string) bwebframework.HandleFunc
func HeaderRule ¶
func HeaderRule(next bwebframework.HandleFunc) bwebframework.HandleFunc
func MigrateMiddleWare ¶
func MigrateMiddleWare(next bwebframework.HandleFunc, client redis.UniversalClient, prefix string) bwebframework.HandleFunc
func NewRouters ¶
func NewRouters(r *bwebframework.Router, client redis.UniversalClient, x *mongox.MongoX, prefix string, ui Ui) *bwebframework.Router
func ScheduleQueueKey ¶
func ZRemRangeByScore ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) List ¶
func (t *Client) List(ctx *bwebframework.BeanContext) error
type Dashboard ¶
type Dashboard struct {
// contains filtered or unexported fields
}
func NewDashboard ¶
func (*Dashboard) Info ¶
func (t *Dashboard) Info(ctx *bwebframework.BeanContext) error
func (*Dashboard) Nodes ¶
func (t *Dashboard) Nodes(beanContext *bwebframework.BeanContext) error
type Dlq ¶
type Dlq struct {
// contains filtered or unexported fields
}
func (*Dlq) List ¶
func (t *Dlq) List(ctx *bwebframework.BeanContext) error
type EventLog ¶
type EventLog struct { Id string `json:"id"` // contains filtered or unexported fields }
func NewEventLog ¶
func (*EventLog) Delete ¶
func (t *EventLog) Delete(ctx *bwebframework.BeanContext) error
func (*EventLog) Detail ¶
func (t *EventLog) Detail(ctx *bwebframework.BeanContext) error
func (*EventLog) Edit ¶
func (t *EventLog) Edit(ctx *bwebframework.BeanContext) error
func (*EventLog) List ¶
func (t *EventLog) List(ctx *bwebframework.BeanContext) error
func (*EventLog) Retry ¶
func (t *EventLog) Retry(ctx *bwebframework.BeanContext) error
type Index ¶
type Index struct { }
func (*Index) Home ¶
func (t *Index) Home(ctx *bwebframework.BeanContext) error
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func (*Log) Delete ¶
func (t *Log) Delete(beanContext *bwebframework.BeanContext) error
func (*Log) List ¶
func (t *Log) List(beanContext *bwebframework.BeanContext) error
del ,retry,archive,detail
func (*Log) OptLogs ¶
func (t *Log) OptLogs(beanContext *bwebframework.BeanContext) error
func (*Log) Retry ¶
func (t *Log) Retry(beanContext *bwebframework.BeanContext) error
type Login ¶
type Login struct {
// contains filtered or unexported fields
}
func (*Login) GoogleCallBack ¶
func (t *Login) GoogleCallBack(ctx *bwebframework.BeanContext) error
func (*Login) GoogleLogin ¶
func (t *Login) GoogleLogin(ctx *bwebframework.BeanContext) error
func (*Login) Login ¶
func (t *Login) Login(ctx *bwebframework.BeanContext) error
type Logs ¶
type Logs struct {
// contains filtered or unexported fields
}
func (*Logs) List ¶
func (t *Logs) List(ctx *bwebframework.BeanContext) error
type Msg ¶
type Msg struct { Id string `json:"id"` Level string Info string Payload any `json:"payload"` AddTime string `json:"addTime"` ExpireTime time.Time `json:"expireTime"` RunTime string `json:"runTime"` BeginTime time.Time EndTime time.Time ExecuteTime time.Time Topic string `json:"topic"` Channel string `json:"channel"` Consumer string `json:"consumer"` Score string }
type ObjectStruct ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) Detail ¶
func (t *Queue) Detail(ctx *bwebframework.BeanContext) error
func (*Queue) List ¶
func (t *Queue) List(ctx *bwebframework.BeanContext) error
type RedisInfo ¶
type RedisInfo struct {
// contains filtered or unexported fields
}
func NewRedisInfo ¶
func (*RedisInfo) Info ¶
func (t *RedisInfo) Info(ctx *bwebframework.BeanContext) error
func (*RedisInfo) Monitor ¶
func (t *RedisInfo) Monitor(ctx *bwebframework.BeanContext) error
type Schedule ¶
type Schedule struct {
// contains filtered or unexported fields
}
func NewSchedule ¶
func (*Schedule) List ¶
func (t *Schedule) List(bctx *bwebframework.BeanContext) error
type User ¶
type User struct { Account string `json:"account"` // contains filtered or unexported fields }
func (*User) Add ¶
func (t *User) Add(ctx *bwebframework.BeanContext) error
func (*User) Delete ¶
func (t *User) Delete(ctx *bwebframework.BeanContext) error
func (*User) Edit ¶
func (t *User) Edit(ctx *bwebframework.BeanContext) error
func (*User) List ¶
func (t *User) List(ctx *bwebframework.BeanContext) error
Click to show internal directories.
Click to hide internal directories.