Skip to main content
Glama
app.go708 B
package app import ( "context" "time" ) type IAppUsecase interface { Login(ctx context.Context) (response LoginResponse, err error) LoginWithCode(ctx context.Context, phoneNumber string) (loginCode string, err error) Logout(ctx context.Context) (err error) Reconnect(ctx context.Context) (err error) FirstDevice(ctx context.Context) (response DevicesResponse, err error) FetchDevices(ctx context.Context) (response []DevicesResponse, err error) } type DevicesResponse struct { Name string `json:"name"` Device string `json:"device"` } type LoginResponse struct { ImagePath string `json:"image_path"` Duration time.Duration `json:"duration"` Code string `json:"code"` }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samihalawa/whatsapp-go-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server