jsonpb_dynamic

package
v0.5.25 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeJsonPbCoderDynamic

func MakeJsonPbCoderDynamic(opts ...jsonpb.Option) (jsonpb.IJsonPbCoder, error)

Types

type JsonPbDynamic

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

func (*JsonPbDynamic) Init

func (j *JsonPbDynamic) Init(opts ...jsonpb.Option) error

func (*JsonPbDynamic) JsonStrToProtoBuffer

func (j *JsonPbDynamic) JsonStrToProtoBuffer(service string, method string, args string) ([]byte, error)

func (*JsonPbDynamic) JsonStrToProtoBufferWithContext

func (j *JsonPbDynamic) JsonStrToProtoBufferWithContext(service string, method string, args string, context string) ([]byte, error)

func (*JsonPbDynamic) ProtoBufferToJson

func (j *JsonPbDynamic) ProtoBufferToJson(service string, method string, bytes []byte) (string, error)

func (*JsonPbDynamic) Restart

func (j *JsonPbDynamic) Restart() error

func (*JsonPbDynamic) UnInit

func (j *JsonPbDynamic) UnInit() error

Jump to

Keyboard shortcuts

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