api

package
v1.2.43 Latest Latest
Warning

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

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

Documentation

Overview

Package api: Unify the API configuration and API call methods, and hide the internal details of the API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.2.41

type Client interface {
	WithContext(context.Context) Client
	GCable
}

func New added in v1.2.41

func New(...any) (*Client, error)

type GCable

type GCable interface {
	GC(...util.Func)
}

type InternalLogger added in v1.1.7

type InternalLogger interface {
	Info(...any)
	Infof(string, ...any)
	Error(...any)
	Errorf(string, ...any)
}

type InternalLoggerV2 added in v1.1.7

type InternalLoggerV2 interface {
	Info(...any)
	InfoF(string, ...any)
	Error(...any)
	ErrorF(string, ...any)
}

type LevelLogger

type LevelLogger interface {
	Debug(...any)
	Info(...any)
	Warn(...any)
	Error(...any)
	Fatal(...any)
	Panic(...any)
}

Directories

Path Synopsis
global func, generate by codegen.Manifest
global func, generate by codegen.Manifest

Jump to

Keyboard shortcuts

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