Documentation ¶
Overview ¶
Code generated by Kitex v0.11.3. DO NOT EDIT.
Index ¶
- func NewServer(handler version.VersionService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- func NewServiceInfoForClient() *kitex.ServiceInfo
- func NewServiceInfoForStreamClient() *kitex.ServiceInfo
- func RegisterService(svr server.Server, handler version.VersionService, ...) error
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.
Click to show internal directories.
Click to hide internal directories.