utils

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGrpcClient

func CreateGrpcClient(config *DefaultConfig) *grpcconn.SuiGrpcClient

func CreateGrpcClientSimple

func CreateGrpcClientSimple(target, token string) *grpcconn.SuiGrpcClient

func CreateGrpcClientWithDefaults

func CreateGrpcClientWithDefaults() *grpcconn.SuiGrpcClient

Types

type DefaultConfig

type DefaultConfig struct {
	Target  string
	Token   string
	Timeout time.Duration
	Retries int
	UseTLS  bool
}

func NewDefaultConfig

func NewDefaultConfig() *DefaultConfig

Jump to

Keyboard shortcuts

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