app_config.go 348 B

12345678910111213141516
  1. package rest_websocket
  2. import (
  3. "context"
  4. "git.ali33.ru/fcg-xvii/go-tools/json"
  5. "git.ali33.ru/fcg-xvii/rest"
  6. )
  7. type appConfig struct {
  8. app rest.IApplicationStream
  9. core any
  10. ctx context.Context
  11. tokenGenerator func(json.Map, int64) (string, error)
  12. tokenParser func(tokenString string) (json.Map, error)
  13. }