session.go 445 B

12345678910111213141516171819
  1. /******************************************************************************
  2. * A Discord API for Golang.
  3. *
  4. * This file has structs and functions specific to a session.
  5. *
  6. * A session is a single connection to Discord for a given
  7. * user and all REST and Websock API functions exist within
  8. * a session.
  9. *
  10. * See the restapi.go and wsapi.go for more information.
  11. */
  12. package discordgo
  13. import (
  14. "net"
  15. "github.com/gorilla/websocket"
  16. )