Documentation
¶
Overview ¶
Package core is the only package that speaks gRPC to the wamux daemon. It knows nothing about WAHA: it hands out the generated service clients and turns a gRPC status into an *Error the rest of the edge can branch on.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
Accounts pb.AccountServiceClient
Messaging pb.MessagingServiceClient
Events pb.EventServiceClient
Contacts pb.ContactServiceClient
Groups pb.GroupServiceClient
Media pb.MediaServiceClient
Newsletters pb.NewsletterServiceClient
Calls pb.CallServiceClient
Admin pb.AdminServiceClient
// contains filtered or unexported fields
}
Client bundles one connection to the core's socket and every service on it.