Documentation ¶
Index ¶
- type OptableRpcClient
- func (c *OptableRpcClient) CreateMatch(ctx context.Context, req *v1.CreateExternalMatchReq) (*v1.CreateExternalMatchRes, error)
- func (c *OptableRpcClient) Do(ctx context.Context, method string, req, res proto.Message) error
- func (c *OptableRpcClient) GetMatchResults(ctx context.Context, req *v1.GetExternalMatchResultsReq) (*v1.GetExternalMatchResultsRes, error)
- func (c *OptableRpcClient) GetResult(ctx context.Context, req *v1.GetExternalMatchResultReq) (*v1.GetExternalMatchResultRes, error)
- func (c *OptableRpcClient) ListMatches(ctx context.Context, req *v1.ListExternalMatchReq) (*v1.ListExternalMatchRes, error)
- func (c *OptableRpcClient) RegisterPartner(ctx context.Context, req *v1.RegisterPartnerReq) error
- func (c *OptableRpcClient) RunMatch(ctx context.Context, req *v1.RunExternalMatchReq) (*v1.RunExternalMatchRes, error)
- type TokenSource
- type TokenSourceFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptableRpcClient ¶ added in v1.0.1
func NewClient ¶
func NewClient(url string, tokenSource TokenSource) *OptableRpcClient
func (*OptableRpcClient) CreateMatch ¶ added in v1.0.1
func (c *OptableRpcClient) CreateMatch(ctx context.Context, req *v1.CreateExternalMatchReq) (*v1.CreateExternalMatchRes, error)
func (*OptableRpcClient) GetMatchResults ¶ added in v1.0.1
func (c *OptableRpcClient) GetMatchResults(ctx context.Context, req *v1.GetExternalMatchResultsReq) (*v1.GetExternalMatchResultsRes, error)
func (*OptableRpcClient) GetResult ¶ added in v1.0.1
func (c *OptableRpcClient) GetResult(ctx context.Context, req *v1.GetExternalMatchResultReq) (*v1.GetExternalMatchResultRes, error)
func (*OptableRpcClient) ListMatches ¶ added in v1.0.1
func (c *OptableRpcClient) ListMatches(ctx context.Context, req *v1.ListExternalMatchReq) (*v1.ListExternalMatchRes, error)
func (*OptableRpcClient) RegisterPartner ¶ added in v1.0.1
func (c *OptableRpcClient) RegisterPartner(ctx context.Context, req *v1.RegisterPartnerReq) error
func (*OptableRpcClient) RunMatch ¶ added in v1.0.1
func (c *OptableRpcClient) RunMatch(ctx context.Context, req *v1.RunExternalMatchReq) (*v1.RunExternalMatchRes, error)
Click to show internal directories.
Click to hide internal directories.