utils

package
v0.0.0-...-0d114ba Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHtml

func IsHtml(l int) bool

func RSAEncrypt

func RSAEncrypt(origData []byte) (string, error)

func RandomString

func RandomString(length int) string

Types

type HttpURLBuilder

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

func URLBuild

func URLBuild(rawUrl string) *HttpURLBuilder

func (*HttpURLBuilder) AddArg

func (u *HttpURLBuilder) AddArg(key, value string) *HttpURLBuilder

func (*HttpURLBuilder) Build

func (u *HttpURLBuilder) Build() string

func (*HttpURLBuilder) BuildUrl

func (u *HttpURLBuilder) BuildUrl() *url.URL

func (*HttpURLBuilder) SetArg

func (u *HttpURLBuilder) SetArg(key, value string) *HttpURLBuilder

Jump to

Keyboard shortcuts

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