pkg

package
v0.0.0-...-1db7dc6 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID   string
	Name string
	Age  int32
	Time time.Time
}

User user

func (User) JavaClassName

func (u User) JavaClassName() string

JavaClassName got a go struct's Java Class package name which should be a POJO class

type UserProvider

type UserProvider struct {
}

UserProvider user provider service

func (*UserProvider) GetUser

func (u *UserProvider) GetUser(ctx context.Context, req []interface{}) (*User, error)

GetUser get user

func (*UserProvider) Reference

func (u *UserProvider) Reference() string

Reference rpc service id or reference id

Jump to

Keyboard shortcuts

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