github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/internal/gateway/gateway.go (about)

     1  package gateway
     2  
     3  import (
     4  	"github.com/ronaksoft/rony"
     5  )
     6  
     7  /*
     8     Creation Time: 2019 - Aug - 31
     9     Created by:  (ehsan)
    10     Maintainers:
    11        1.  Ehsan N. Moosa (E2)
    12     Auditor: Ehsan N. Moosa (E2)
    13     Copyright Ronak Software Group 2020
    14  */
    15  
    16  type (
    17  	ConnectHandler = func(c rony.Conn, kvs ...*rony.KeyValue)
    18  	MessageHandler = func(c rony.Conn, streamID int64, data []byte)
    19  	CloseHandler   = func(c rony.Conn)
    20  )