Documentation
¶
Overview ¶
Package rpc contains all the methods exposed to the rpc interface
Package rpc contains all the methods exposed to the rpc interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnqueueArgs ¶
EnqueueArgs defines the arguments for the Postmaster.Enqueue endpoint
type EnqueueResult ¶
type EnqueueResult struct {
Success bool `json:"success"`
}
EnqueueResult defines the response object for the Postmaster.Enqueue endpoint
type Postmaster ¶
type Postmaster struct{}
func (Postmaster) Enqueue ¶
func (_ Postmaster) Enqueue(r *http.Request, args *EnqueueArgs, reply *EnqueueResult) error
Create is an rpc method which creates a Campaign and persists it to disk
func (Postmaster) UpdatePrefs ¶
func (_ Postmaster) UpdatePrefs(r *http.Request, args *UpdatePrefsArgs, reply *UpdatePrefsResult) error
type UpdatePrefsArgs ¶
type UpdatePrefsResult ¶
type UpdatePrefsResult struct {
Success bool `json:"success"`
}
Click to show internal directories.
Click to hide internal directories.