versionservice

package
v0.0.0-...-b283e90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by Kitex v0.11.3. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(handler version.VersionService, opts ...server.Option) server.Server

NewServer creates a server.Server with the given handler and options.

func NewServiceInfo

func NewServiceInfo() *kitex.ServiceInfo

NewServiceInfo creates a new ServiceInfo containing all methods

func NewServiceInfoForClient

func NewServiceInfoForClient() *kitex.ServiceInfo

NewServiceInfo creates a new ServiceInfo containing non-streaming methods

func NewServiceInfoForStreamClient

func NewServiceInfoForStreamClient() *kitex.ServiceInfo

func RegisterService

func RegisterService(svr server.Server, handler version.VersionService, opts ...server.RegisterOption) error

Types

type Client

type Client interface {
	Login(ctx context.Context, req *version.LoginRequest, callOptions ...callopt.Option) (r *version.LoginResponse, err error)
	UploadVersion(ctx context.Context, req *version.UploadRequest, callOptions ...callopt.Option) (r *version.UploadResponse, err error)
	UploadParams(ctx context.Context, req *version.UploadParamsRequest, callOptions ...callopt.Option) (r *version.UploadParamsResponse, err error)
	DownloadReleaseApk(ctx context.Context, req *version.DownloadReleaseApkRequest, callOptions ...callopt.Option) (r *version.DownloadReleaseApkResponse, err error)
	DownloadBetaApk(ctx context.Context, req *version.DownloadBetaApkRequest, callOptions ...callopt.Option) (r *version.DownloadBetaApkResponse, err error)
	GetReleaseVersion(ctx context.Context, req *version.GetReleaseVersionRequest, callOptions ...callopt.Option) (r *version.GetReleaseVersionResponse, err error)
	GetBetaVersion(ctx context.Context, req *version.GetBetaVersionRequest, callOptions ...callopt.Option) (r *version.GetBetaVersionResponse, err error)
	GetSetting(ctx context.Context, req *version.GetSettingRequest, callOptions ...callopt.Option) (r *version.GetSettingResponse, err error)
	GetTest(ctx context.Context, req *version.GetTestRequest, callOptions ...callopt.Option) (r *version.GetTestResponse, err error)
	GetCloud(ctx context.Context, req *version.GetCloudRequest, callOptions ...callopt.Option) (r *version.GetCloudResponse, err error)
	SetCloud(ctx context.Context, req *version.SetCloudRequest, callOptions ...callopt.Option) (r *version.SetCloudResponse, err error)
	GetDump(ctx context.Context, req *version.GetDumpRequest, callOptions ...callopt.Option) (r *version.GetDumpResponse, err error)
}

Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.

func MustNewClient

func MustNewClient(destService string, opts ...client.Option) Client

MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.

func NewClient

func NewClient(destService string, opts ...client.Option) (Client, error)

NewClient creates a client for the service defined in IDL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL