pcm-coordinator/client/client.go

15 lines
256 B
Go

package client
type Options struct {
Url string
DataSource string
}
type Client interface {
Task(TaskOptions) (Task, error)
Notice(NoticeOptions) (Notice, error)
}
func NewClient(options Options) (Client, error) {
return newClient(options)
}