Documentation
¶
Overview ¶
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Code generated by argen. DO NOT EDIT. This code was generated from a template.
Manual changes to this file may cause unexpected behavior in your application. Manual changes to this file will be overwritten if the code is regenerated.
Generate info: argen@v1.11.0-b (Commit: 6934fae2)
Index ¶
- func CallMockerLogger(params FooParams, res FooList) func() (activerecord.MockerLogger, error)
- func MarshalFixtures(objs []*Foo) ([]byte, error)
- func MockCallRequest(ctx context.Context, params FooParams) []byte
- func UnpackJsonRawData(r *bytes.Reader) (ret s2s.ServiceResponse, errRet error)
- func UnpackStatus(r *bytes.Reader) (ret int, errRet error)
- func UnpackTraceID(r *bytes.Reader) (ret string, errRet error)
- type Foo
- func Call(ctx context.Context, params FooParams) (*Foo, error)
- func CallOnMaster(ctx context.Context, params FooParams) (*Foo, error)
- func New(ctx context.Context) *Foo
- func TupleToStruct(ctx context.Context, tuple octopus.TupleData) (*Foo, error)
- func UnmarshalDeleteFixtures(source []byte) []*Foo
- func UnmarshalFixtures(source []byte) []*Foo
- func (obj *Foo) GetJsonRawData() s2s.ServiceResponse
- func (obj *Foo) GetParams() FooParams
- func (obj *Foo) GetStatus() int
- func (obj *Foo) GetTraceID() string
- func (obj *Foo) MockSelectResponse() ([][]byte, error)
- func (obj *Foo) RepoSelector(ctx context.Context) (any, error)
- func (obj *Foo) SetJsonRawData(JsonRawData s2s.ServiceResponse) error
- func (obj *Foo) SetStatus(Status int) error
- func (obj *Foo) SetTraceID(TraceID string) error
- type FooFT
- type FooFTPK
- type FooList
- type FooParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallMockerLogger ¶
func CallMockerLogger(params FooParams, res FooList) func() (activerecord.MockerLogger, error)
func MarshalFixtures ¶
func UnpackJsonRawData ¶
func UnpackJsonRawData(r *bytes.Reader) (ret s2s.ServiceResponse, errRet error)
Types ¶
type Foo ¶
type Foo struct {
// contains filtered or unexported fields
}
proc struct
func UnmarshalDeleteFixtures ¶
func UnmarshalFixtures ¶
func (*Foo) GetJsonRawData ¶
func (obj *Foo) GetJsonRawData() s2s.ServiceResponse
func (*Foo) GetTraceID ¶
func (*Foo) MockSelectResponse ¶
func (*Foo) SetJsonRawData ¶
func (obj *Foo) SetJsonRawData(JsonRawData s2s.ServiceResponse) error
func (*Foo) SetTraceID ¶
type FooFT ¶
type FooFT struct { Params FooFTPK `yaml:"params"` Status int `yaml:"status"` JsonRawData s2s.ServiceResponse `yaml:"json_raw_data"` TraceID string `yaml:"trace_id"` }