auth_interface.go 214 B

12345678
  1. package hhc_telws
  2. import "time"
  3. type TelwsAuthHandler interface {
  4. Register(jwtkey []byte, jwtttl time.Duration) (ahname string)
  5. Login(authData map[string]string) (isSuccess bool, jwtdata string, emsg string)
  6. }