Documentation ¶
Index ¶
- func CheckHealth(newContext func(ctx context.Context) (context.Context, context.CancelFunc), ...) ...
- func CreateObject(newContext func(ctx context.Context) (context.Context, context.CancelFunc), ...) ...
- func DeleteObject(newContext func(ctx context.Context) (context.Context, context.CancelFunc), ...) ...
- func GetObject(newContext func(ctx context.Context) (context.Context, context.CancelFunc), ...) ...
- type API
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHealth ¶
func CheckHealth( newContext func(ctx context.Context) (context.Context, context.CancelFunc), newClientConn func(ctx context.Context) (*grpc.ClientConn, error), ) func(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
func CreateObject ¶
func CreateObject( newContext func(ctx context.Context) (context.Context, context.CancelFunc), newClientConn func(ctx context.Context) (*grpc.ClientConn, error), ) func(ctx context.Context, req *object.CreateObjectRequest) (*object.CreateObjectResponse, error)
func DeleteObject ¶
func DeleteObject( newContext func(ctx context.Context) (context.Context, context.CancelFunc), newClientConn func(ctx context.Context) (*grpc.ClientConn, error), ) func(ctx context.Context, req *object.DeleteObjectRequest) (*object.DeleteObjectResponse, error)
func GetObject ¶
func GetObject( newContext func(ctx context.Context) (context.Context, context.CancelFunc), newClientConn func(ctx context.Context) (*grpc.ClientConn, error), ) func(ctx context.Context, req *object.GetObjectRequest) (*object.GetObjectResponse, error)
Types ¶
type API ¶
type API struct { CheckHealth func(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error) CreateObject func(ctx context.Context, req *object.CreateObjectRequest) (*object.CreateObjectResponse, error) GetObject func(ctx context.Context, req *object.GetObjectRequest) (*object.GetObjectResponse, error) DeleteObject func(ctx context.Context, req *object.DeleteObjectRequest) (*object.DeleteObjectResponse, error) }
Click to show internal directories.
Click to hide internal directories.