yakurl

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUrlFromString added in v1.3.2

func CreateUrlFromString(raw string) (*ypb.YakURL, error)

func GetQueryParam added in v1.3.2

func GetQueryParam(params []*ypb.KVPair, key string) string

func LoadGetResource added in v1.3.2

func LoadGetResource(u string) (*ypb.RequestYakURLResponse, error)

Types

type ActionService added in v1.3.0

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

func GetActionService added in v1.3.0

func GetActionService() *ActionService

func (*ActionService) CreateAction added in v1.3.0

func (s *ActionService) CreateAction(schema string) Action

func (*ActionService) GetAction added in v1.3.0

func (s *ActionService) GetAction(schema string) Action

func (*ActionService) Stop added in v1.3.0

func (s *ActionService) Stop()

type BaseAction added in v1.3.2

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

func (*BaseAction) Delete added in v1.3.2

func (*BaseAction) Do added in v1.3.2

func (*BaseAction) Get added in v1.3.2

func (*BaseAction) Head added in v1.3.2

func (*BaseAction) Post added in v1.3.2

func (*BaseAction) Put added in v1.3.2

type BaseActionHandler added in v1.3.2

type BaseActionHandler func(getParam func(key string) (string, error), body []byte, raw []*ypb.KVPair) (*ypb.RequestYakURLResponse, error)

Jump to

Keyboard shortcuts

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