Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) DeleteEvent(ctx context.Context, eventId string) (*tipRPC.Generic, error)
- func (c *Client) PostEvent(ctx context.Context, message *tipRPC.Event) (*tipRPC.Generic, error)
- func (c *Client) PutEvent(ctx context.Context, message *tipRPC.Event) (*tipRPC.Generic, error)
- func (c *Client) Run(ctx context.Context)
- func (c *Client) SendGeneric(ctx context.Context, message tipRPC.Generic) (*tipRPC.Generic, error)
- type Flyvo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorShuttingDown = errors.New("shutting down") ErrorBadPath = errors.New("unknown path provided") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { RpcServerAddress string `yaml:"serverAddress"` RpcCertFile string `yaml:"certFile"` FlyvoApiEndpoints Flyvo `yaml:"flyvo"` PollFrequency time.Duration `yaml:"pollFrequency"` BadConnectSleep time.Duration `yaml:"connFailSleep"` ConnTimeout *time.Duration `yaml:"connTimeout"` ConnOK bool // contains filtered or unexported fields }
func (*Client) DeleteEvent ¶
Click to show internal directories.
Click to hide internal directories.