one2one

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindSimple

func BindSimple(builder *gateway.Builder, params *Simple, opts ...Option)

Types

type Option

type Option func(options *Options)

func WithDisableLeft

func WithDisableLeft() Option

func WithDisableLeftQuery

func WithDisableLeftQuery() Option

func WithDisableLeftUpdate

func WithDisableLeftUpdate() Option

func WithDisableLeftWithRightQuery

func WithDisableLeftWithRightQuery() Option

func WithDisableRight

func WithDisableRight() Option

func WithDisableRightQuery

func WithDisableRightQuery() Option

func WithDisableRightUpdate

func WithDisableRightUpdate() Option

func WithDisableRightWithLeftQuery

func WithDisableRightWithLeftQuery() Option

type Options

type Options struct {
	// contains filtered or unexported fields
}

type Simple

type Simple struct {
	// 除去后缀的服务URL,如http://localhost:8080/example/api/v1
	ServiceVersionedUrl string

	// 服务缩写
	ServiceShortName string

	// 左领域名称
	LeftDomainCamelName string

	// 右领域名称
	RightDomainCamelName string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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