sts

package
v0.0.0-...-1482656 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var ApplySignedUrlArgs_Req_DEFAULT *core_api.ApplySignedUrlReq
View Source
var ApplySignedUrlAsCommunityArgs_Req_DEFAULT *core_api.ApplySignedUrlAsCommunityReq
View Source
var ApplySignedUrlAsCommunityResult_Success_DEFAULT *core_api.ApplySignedUrlAsCommunityResp
View Source
var ApplySignedUrlResult_Success_DEFAULT *core_api.ApplySignedUrlResp

Functions

func NewInvoker

func NewInvoker(handler core_api.Sts, opts ...server.Option) server.Invoker

NewInvoker creates a server.Invoker with the given handler and options.

func NewServer

func NewServer(handler core_api.Sts, 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 core_api.Sts, opts ...server.RegisterOption) error

Types

type ApplySignedUrlArgs

type ApplySignedUrlArgs struct {
	Req *core_api.ApplySignedUrlReq
}

func (*ApplySignedUrlArgs) FastRead

func (p *ApplySignedUrlArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*ApplySignedUrlArgs) FastWrite

func (p *ApplySignedUrlArgs) FastWrite(buf []byte) (n int)

func (*ApplySignedUrlArgs) GetFirstArgument

func (p *ApplySignedUrlArgs) GetFirstArgument() interface{}

func (*ApplySignedUrlArgs) GetReq

func (*ApplySignedUrlArgs) IsSetReq

func (p *ApplySignedUrlArgs) IsSetReq() bool

func (*ApplySignedUrlArgs) Marshal

func (p *ApplySignedUrlArgs) Marshal(out []byte) ([]byte, error)

func (*ApplySignedUrlArgs) Size

func (p *ApplySignedUrlArgs) Size() (n int)

func (*ApplySignedUrlArgs) Unmarshal

func (p *ApplySignedUrlArgs) Unmarshal(in []byte) error

type ApplySignedUrlAsCommunityArgs

type ApplySignedUrlAsCommunityArgs struct {
	Req *core_api.ApplySignedUrlAsCommunityReq
}

func (*ApplySignedUrlAsCommunityArgs) FastRead

func (p *ApplySignedUrlAsCommunityArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*ApplySignedUrlAsCommunityArgs) FastWrite

func (p *ApplySignedUrlAsCommunityArgs) FastWrite(buf []byte) (n int)

func (*ApplySignedUrlAsCommunityArgs) GetFirstArgument

func (p *ApplySignedUrlAsCommunityArgs) GetFirstArgument() interface{}

func (*ApplySignedUrlAsCommunityArgs) GetReq

func (*ApplySignedUrlAsCommunityArgs) IsSetReq

func (p *ApplySignedUrlAsCommunityArgs) IsSetReq() bool

func (*ApplySignedUrlAsCommunityArgs) Marshal

func (p *ApplySignedUrlAsCommunityArgs) Marshal(out []byte) ([]byte, error)

func (*ApplySignedUrlAsCommunityArgs) Size

func (p *ApplySignedUrlAsCommunityArgs) Size() (n int)

func (*ApplySignedUrlAsCommunityArgs) Unmarshal

func (p *ApplySignedUrlAsCommunityArgs) Unmarshal(in []byte) error

type ApplySignedUrlAsCommunityResult

type ApplySignedUrlAsCommunityResult struct {
	Success *core_api.ApplySignedUrlAsCommunityResp
}

func (*ApplySignedUrlAsCommunityResult) FastRead

func (p *ApplySignedUrlAsCommunityResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*ApplySignedUrlAsCommunityResult) FastWrite

func (p *ApplySignedUrlAsCommunityResult) FastWrite(buf []byte) (n int)

func (*ApplySignedUrlAsCommunityResult) GetResult

func (p *ApplySignedUrlAsCommunityResult) GetResult() interface{}

func (*ApplySignedUrlAsCommunityResult) GetSuccess

func (*ApplySignedUrlAsCommunityResult) IsSetSuccess

func (p *ApplySignedUrlAsCommunityResult) IsSetSuccess() bool

func (*ApplySignedUrlAsCommunityResult) Marshal

func (p *ApplySignedUrlAsCommunityResult) Marshal(out []byte) ([]byte, error)

func (*ApplySignedUrlAsCommunityResult) SetSuccess

func (p *ApplySignedUrlAsCommunityResult) SetSuccess(x interface{})

func (*ApplySignedUrlAsCommunityResult) Size

func (p *ApplySignedUrlAsCommunityResult) Size() (n int)

func (*ApplySignedUrlAsCommunityResult) Unmarshal

func (p *ApplySignedUrlAsCommunityResult) Unmarshal(in []byte) error

type ApplySignedUrlResult

type ApplySignedUrlResult struct {
	Success *core_api.ApplySignedUrlResp
}

func (*ApplySignedUrlResult) FastRead

func (p *ApplySignedUrlResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*ApplySignedUrlResult) FastWrite

func (p *ApplySignedUrlResult) FastWrite(buf []byte) (n int)

func (*ApplySignedUrlResult) GetResult

func (p *ApplySignedUrlResult) GetResult() interface{}

func (*ApplySignedUrlResult) GetSuccess

func (*ApplySignedUrlResult) IsSetSuccess

func (p *ApplySignedUrlResult) IsSetSuccess() bool

func (*ApplySignedUrlResult) Marshal

func (p *ApplySignedUrlResult) Marshal(out []byte) ([]byte, error)

func (*ApplySignedUrlResult) SetSuccess

func (p *ApplySignedUrlResult) SetSuccess(x interface{})

func (*ApplySignedUrlResult) Size

func (p *ApplySignedUrlResult) Size() (n int)

func (*ApplySignedUrlResult) Unmarshal

func (p *ApplySignedUrlResult) Unmarshal(in []byte) error

type Client

type Client interface {
	ApplySignedUrl(ctx context.Context, Req *core_api.ApplySignedUrlReq, callOptions ...callopt.Option) (r *core_api.ApplySignedUrlResp, err error)
	ApplySignedUrlAsCommunity(ctx context.Context, Req *core_api.ApplySignedUrlAsCommunityReq, callOptions ...callopt.Option) (r *core_api.ApplySignedUrlAsCommunityResp, 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