cliclient

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FlagEndpoint = "endpoint"
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(cmd *cobra.Command) (*kratos.APIClient, error)

func RegisterClientFlags

func RegisterClientFlags(flags *pflag.FlagSet)

Types

type ContextKey

type ContextKey int
const (
	ClientContextKey ContextKey = iota + 1
)

type MigrateHandler

type MigrateHandler struct{}

func NewMigrateHandler

func NewMigrateHandler() *MigrateHandler

func (*MigrateHandler) MigrateSQL

func (h *MigrateHandler) MigrateSQL(cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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