server.go 139 B

12345678
  1. package tg
  2. // Implementing the interface provides
  3. // the way to define how to handle updates.
  4. type Server interface {
  5. Serve(*Context)
  6. }