mockapi

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepObj deprecated

type DepObj struct{}

Deprecated: This will be removed in a future version

func (*DepObj) DepMember1 deprecated

func (*DepObj) DepMember1()

Deprecated: This will be removed in a future version

func (*DepObj) DepMember2

func (*DepObj) DepMember2()

Comment preceding deprecation Deprecated: This will be removed in a future version

type ExperimentalObject1

type ExperimentalObject1 struct{}

Stability: Experimental

func (ExperimentalObject1) ExpMember1

func (ExperimentalObject1) ExpMember1()

Experimental comment Stability: Experimental

type ExperimentalObject2

type ExperimentalObject2 struct{}

Experimental comment Stability: Experimental

type Float32

type Float32 float32

Alias for float32 so we can add some methods

func (*Float32) AdditionalMethodOnFloat

func (float32 *Float32) AdditionalMethodOnFloat()

Method on Float32

type Interface1

type Interface1 interface {
	PublicEmbeddedInteface

	InterfaceFunc1(param string) string
	// contains filtered or unexported methods
}

Comment Interface1

type NamedSlice

type NamedSlice []*SubObj

Comment for NamedSlice

type Obj

type Obj struct {
	*PublicEmbedded

	//Comment for FieldFunc
	FieldFunc1 func(

		func2 Signature,
		var1 string,
		var2 int,
		var3 *int,
		var4 *SubObj,
		var5 SubObj,
		var6 Interface1,
		slice1 []*SubObj,
		slice2 []SubObj,
		slice3 []int,
		slice4 NamedSlice,
		chan1chan interface{},
		chan2 chan struct{},
		chan3 chan struct {
			A string
			B string
		},
		chan4 chan *struct {
			A string
			B string
		},
		chan5 chan *SubObj,
		chan6 chan SubObj,
		depObj *DepObj,

	) (string, *Obj, httputil.BufferPool, error)
	Func2 Signature
	Var1  string
	Var2  int
	Var3  *int
	Var4  *SubObj
	Var5  SubObj
	//Comment for variable
	Var6   Interface1
	Slice1 []*SubObj
	Slice2 []SubObj
	Slice3 []int
	Slice4 NamedSlice
	Chan1  interface{}
	Chan2  chan struct{}
	Chan3  chan struct {
		A string
		B string
	}
	Chan4 chan *struct {
		A string
		B string
	}
	Chan5  chan *SubObj
	Chan6  chan SubObj
	DepObj *DepObj
	// contains filtered or unexported fields
}

Comment for Obj

func Dial

func Dial(param1 string) *Obj

func (Obj) FuncInPrivateEmbedded

func (Obj) FuncInPrivateEmbedded()

Comment for FuncInPrivateEmbedded

func (*Obj) Member

func (obj *Obj) Member(
	var1 string,
	var2 int,
	var3 *int,
	var4 *SubObj,
	var5 SubObj,
	var6 Interface1,
	slice1 []*SubObj,
	slice2 []SubObj)

Comment for Member

func (Obj) MemberNonPointerReceiver

func (obj Obj) MemberNonPointerReceiver()

type PublicEmbedded

type PublicEmbedded struct {
}

Comment for PublicEmbedded

func (*PublicEmbedded) FuncInPublicEmbedded

func (*PublicEmbedded) FuncInPublicEmbedded()

Comment for FuncInPublicEmbedded

type PublicEmbeddedInteface

type PublicEmbeddedInteface interface {
	FuncInPublicEmbeddedInterface()
}

Comment PublicEmbeddedInteface

type Signature

type Signature func(param1 string, param2 int, param3 *int, param4 *SubObj, param5 SubObj, paramVar6 Interface1) string

Comment for signature

type SubObj

type SubObj struct {
}

Jump to

Keyboard shortcuts

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