Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderService ¶
OrderService is a Cassandra backed implementation of OrderService spec
func (OrderService) Find ¶
func (s OrderService) Find(query string) ([]spec.Order, error)
Find all orders
func (OrderService) Get ¶
func (s OrderService) Get(id string) (*spec.Order, error)
Get fetches order by ID
func (OrderService) HealthCheck ¶
func (s OrderService) HealthCheck() bool
HealthCheck the service, by checking Cassandra system table
Click to show internal directories.
Click to hide internal directories.