Documentation ¶
Index ¶
- Constants
- func NewAdminClient(client admin.Client, largeTimeout time.Duration, timeout time.Duration) admin.Client
- func NewFrontendClient(client frontend.Client, longPollTimeout time.Duration, timeout time.Duration) frontend.Client
- func NewHistoryClient(client history.Client, timeout time.Duration) history.Client
- func NewMatchingClient(client matching.Client, longPollTimeout time.Duration, timeout time.Duration) matching.Client
Constants ¶
View Source
const ( // AdminDefaultTimeout is the admin service default timeout used to make calls AdminDefaultTimeout = 10 * time.Second // AdminDefaultLargeTimeout is the admin service large default timeout used to make calls AdminDefaultLargeTimeout = time.Minute // FrontendDefaultTimeout is the frontend service default timeout used to make calls FrontendDefaultTimeout = 10 * time.Second // FrontendDefaultLongPollTimeout is the frontend service long poll default timeout used to make calls FrontendDefaultLongPollTimeout = time.Minute * 3 // MatchingDefaultTimeout is the default timeout used to make calls MatchingDefaultTimeout = time.Minute // MatchingDefaultLongPollTimeout is the long poll default timeout used to make calls MatchingDefaultLongPollTimeout = time.Minute * 2 // HistoryDefaultTimeout is the default timeout used to make calls HistoryDefaultTimeout = time.Second * 30 )
Variables ¶
This section is empty.
Functions ¶
func NewAdminClient ¶
func NewAdminClient( client admin.Client, largeTimeout time.Duration, timeout time.Duration, ) admin.Client
NewAdminClient creates a new adminClient instance
func NewFrontendClient ¶
func NewFrontendClient( client frontend.Client, longPollTimeout time.Duration, timeout time.Duration, ) frontend.Client
NewFrontendClient creates a new frontendClient instance
func NewHistoryClient ¶
NewHistoryClient creates a new historyClient instance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.