Documentation
¶
Index ¶
- Constants
- Variables
- type Service
- func (s *Service) GetChatRooms(c *gin.Context)
- func (s *Service) GetChatlog(c *gin.Context)
- func (s *Service) GetContacts(c *gin.Context)
- func (s *Service) GetFile(c *gin.Context)
- func (s *Service) GetImage(c *gin.Context)
- func (s *Service) GetMedia(c *gin.Context, _type string)
- func (s *Service) GetMediaData(c *gin.Context)
- func (s *Service) GetRouter() *gin.Engine
- func (s *Service) GetSessions(c *gin.Context)
- func (s *Service) GetVideo(c *gin.Context)
- func (s *Service) GetVoice(c *gin.Context)
- func (s *Service) HandleDatFile(c *gin.Context, path string)
- func (s *Service) HandleVoice(c *gin.Context, data []byte)
- func (s *Service) ListenAndServe() error
- func (s *Service) NoRoute(c *gin.Context)
- func (s *Service) Start() error
- func (s *Service) Stop() error
Constants ¶
View Source
const (
DefalutHTTPAddr = "127.0.0.1:5030"
)
Variables ¶
View Source
var EFS embed.FS
EFS holds embedded file system data for static assets.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) GetChatRooms ¶ added in v0.0.2
func (*Service) GetChatlog ¶
func (*Service) GetContacts ¶ added in v0.0.2
func (*Service) GetMediaData ¶ added in v0.0.5
func (*Service) GetSessions ¶ added in v0.0.2
func (*Service) HandleDatFile ¶ added in v0.0.5
func (*Service) HandleVoice ¶ added in v0.0.10
func (*Service) ListenAndServe ¶ added in v0.0.12
Click to show internal directories.
Click to hide internal directories.