wrappers

package
v0.0.0-...-877b449 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileWrapper

func NewFileWrapper(c client.Client) client.Client

func NewUserWrapper

func NewUserWrapper(c client.Client) client.Client

NewUserWrapper 初始化Wrapper

Types

type FileWrapper

type FileWrapper struct {
	client.Client
}

func (*FileWrapper) Call

func (wrapper *FileWrapper) Call(ctx context.Context, req client.Request, resp interface{}, opt ...client.CallOption) error

type UserWrapper

type UserWrapper struct {
	client.Client
}

func (*UserWrapper) Call

func (wrapper *UserWrapper) Call(ctx context.Context, req client.Request, resp interface{}, opts ...client.CallOption) error

Jump to

Keyboard shortcuts

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