Documentation ¶
Index ¶
- func Compile(e *Engine, u *Update) (string, error)
- func ConstructPayload(code string, language string, versionIndex int) (string, error)
- func CreateServer() error
- func Escape(s string) string
- func NextProxy() assets.Proxy
- func RedisClient() (*redis.Client, error)
- type Chat
- type CodeOutput
- type Engine
- type HttpClientProvider
- type Message
- type Request
- type Response
- func CPlus(code string) (*Response, error)
- func Clang(code string) (*Response, error)
- func Golang(code string) (*Response, error)
- func Java(code string) (*Response, error)
- func Javascript(code string) (*Response, error)
- func Kotlin(code string) (*Response, error)
- func Python(code string) (*Response, error)
- type Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructPayload ¶
func CreateServer ¶
func CreateServer() error
func RedisClient ¶
Types ¶
type CodeOutput ¶
type Engine ¶
func (*Engine) HandleTelegramWebHook ¶
func (e *Engine) HandleTelegramWebHook(w http.ResponseWriter, r *http.Request)
type HttpClientProvider ¶
func NewCompilerClient ¶
func NewCompilerClient() (*HttpClientProvider, error)
type Request ¶
func NewRequest ¶
type Response ¶
func Javascript ¶
Click to show internal directories.
Click to hide internal directories.